Abstract Base Class
It is a class that holds a theoretical strategy. An abstract method is a technique characterized inside an abstract class.
Significant focus -
- They are characterized in the theoretical class. They for the most part don't have the body, however, it is feasible to execute unique strategies in the theoretical class. Any subclass getting from such a theoretical class needs to give execution to that theoretical technique.
- It can have both theoretical strategies just as substantial techniques.
- It functions as a format for different classes.
- We can characterize a design without appropriately executing each technique.
- It is preposterous to expect to make objects of a theoretical class since the Abstract class can't be started up.
- A blunder will happen if the theoretical technique has not been carried out in the determined class.

0 Comments