Can we instantiate abstract class?

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. However, if it does not, then the subclass must also be declared abstract .

Sizin İçin Seçtik  Why do they burn Shiba?

Leave a Reply

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