Which of the following is a mechanism by which object acquires the properties of another object?
A. Encapsulation
B. Abstraction
C. Inheritance
D. Polymorphism
Answer:A
Which of the following is a mechanism by which object acquires the properties of another object?
A. Encapsulation B. Abstraction C. Inheritance D. Polymorphism
Explanation: ‘Inheritance’ is the mechanism provided by Object Oriented Language, which helps an object to acquire the properties of another object usually child object from parent object.