How do you call an abstract class in Java?

The only way to access the non-static method of an abstract class is to extend it, implement the abstract methods in it (if any) and then using the subclass object you need to invoke the required methods .

Sizin İçin Seçtik  CRS anlamı nedir?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do you call an abstract class in Java?

The only way to access the non-static method of an abstract class is to extend it, implement the abstract methods in it (if any) and then using the subclass object you need to invoke the required methods .

Sizin İçin Seçtik  When interface and abstract class is used in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *