Computer Science, asked by dhanyashrees2002, 3 months ago

write a program to demonstrate base class and derived class in C++​

Answers

Answered by Anonymous
0

\huge\boxed{\fcolorbox{red}{orange}{Answer}}

Inheritance in C++

Inheritance in C++The capability of a class to derive properties and characteristics from another class is called Inheritance. Inheritance is one of the most important feature of Object Oriented Programming.

Inheritance in C++The capability of a class to derive properties and characteristics from another class is called Inheritance. Inheritance is one of the most important feature of Object Oriented Programming.Sub Class: The class that inherits properties from another class is called Sub class or Derived Class.

Inheritance in C++The capability of a class to derive properties and characteristics from another class is called Inheritance. Inheritance is one of the most important feature of Object Oriented Programming.Sub Class: The class that inherits properties from another class is called Sub class or Derived Class.Super Class:The class whose properties are inherited by sub class is called Base Class or Super class.

Similar questions