Can you instantiate an abstract class directly?

Abstract classes cannot be instantiated , but they can be subclassed. When an abstract class is subclassed, the subclass usually provides implementations for all of the abstract methods in its parent class.

Sizin İçin Seçtik  Which is best programming language for jobs?

Leave a Reply

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