Question OOP-INH-0021
EasyIn inheritance, what is the class being inherited from called?
- A.
The base (parent or super) class
- B.
The child class
- C.
Show answer and explanation
Answer: A
The class that inherits is the derived (child or sub) class.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Inheritance question
In inheritance, what is the class being inherited from called?
The base (parent or super) class
The child class
Answer: A
The class that inherits is the derived (child or sub) class.
The friend class
The derived class