Q&A
Ask and answer questions to make information more available to wider audiences.
Alfredo Beringer @beringeralfredo   02, May 2023 12:00 AM
inheritance
What is the function of inheritance in Delphi?
answers 1
 
Answer 1
Nico Blacvood @blacvoodnico   05, May 2023 05:19 PM
Inheritance is a method to inherit the properties of the parent's class by the child class.
Inheritance is used in Object oriented language and it deals with the real world objects and information.
The data in these scenarios is treated as an object and it has the characteristics like size and the actions that are performed on them.
In inheritance a class is dependent on another object. The child object inherits the properties of the partent's class and uses it.
Child class has its own features but it also inherits the properties or the features from the parent's class.