How is an abstract class defined in Java?

An abstract class is a class that is declared abstract —it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed.

Sizin İçin Seçtik  What is concrete class and abstract class?

Leave a Reply

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