![]() |
Inheritance
What is inheritance in C++ ?
|
Inheritance in Object Oriented Programming can be described as a process of creating new classes from existing classes. New classes inherit some of the properties and behavior of the existing classes. An existing class that is "parent" of a new class is called a base class.
|
Inheritance is the property of OOP by which the features of one class can be shared by another class. It's a basic property of OOP along with Abstraction, Encapsulation and Polymorphism.
|
Inheritance in Object Oriented Programming can be described as a process of creating new classes from existing classes. New classes inherit some of the properties and behavior of the existing classes. An existing class that is "parent" of a new class is called a base class.
|
All times are GMT -7. The time now is 12:38 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.