What is inheritance in C++?
20 views
- A process of creating new objects from existing objects
- A process of creating new classes from existing classes (Correct Answer)
- A process of creating new functions from existing functions
- None of the above
Explanation
Answer: B
Explanation: Inheritance is a process of creating new classes from existing classes.