what are base class and derived class with one example
Answers
Answered by
12
Explanation:
Difference between Base class and Derived class in C++
A base class is also called parent class or superclass. Derived Class: A class that is created from an existing class. The derived class inherits all members and member functions of a base class.
Answered by
1
Answer:
Difference between Base class and Derived class in C++
A base class is also called parent class or superclass. Derived Class: A class that is created from an existing class. The derived class inherits all members and member functions of a base class.
Similar questions