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.

Leave a Reply

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