What are the different types of inheritances present in Delphi?
What are the different types of inheritance present in Delphi?
- Specialization inheritance: this is the type of inheritance in which the child class is the advanced version of the parent’s class.
- Class inheritance: provides a way for the child class to include the features and complete properties of the parent’s class.
- It is used to extend the parent class and provide the left out features and methods.
- Abstract inheritance: this is the method that provides other skeleton methods which is being implemented by the child class.
- Interface: this is the way by which the class implements all the skeleton methods by using the interface itself.