N/APosted on - 06/26/2012
Inheritance is the term used when a class is thus derived from a non-abstract class to make a specialized version of it as an abstract class is used as a starting point for various applications. Would it be better if we had two different terms for these thought rather using the same phrase?
Question on inheritance, please help
The concept is not that much tricky.
The inheritance means that properties of the parent class are brought into the derived class. These properties may be data members, functions/ procedures that are derived and so on. Any class from which the properties are derived to the derived class is done by a feature called inheritance. The Abstract class and the non-abstract class do not differ in the naming. The only difference is that the objects cannot be created of the abstract class until all the member functions have been defined in the derived class. As such the inheritance has the same concept as described.