Computer Science, asked by arindammukerji9416, 1 year ago

How many instances of an abstract class can be created?

Answers

Answered by nniks
0

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.

If we will create an object of the abstract class and calls the method having no body it will give an error. That is why we cant create object of abstract class.
Similar questions