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  Who is the owner of Kotlin?

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  Which is better to use interface or abstract class?

Leave a Reply

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