Computer
Which object-oriented programming concept allows one class to acquire the properties of another class?
Show answer
Correct answer: B) Inheritance
Inheritance allows a class to use properties and methods of another class.
The existing class is called the parent or base class.
The new class is called the child or derived class.
Last verified on 14-11-2026
Explanation
Inheritance allows a class to use properties and methods of another class.
The existing class is called the parent or base class.
The new class is called the child or derived class.
Last verified on 14-11-2026