In programming, which of the following is a mechanism by which an object acquires the properties of another object?
Anamorphism
Inheritance
Encapsulation
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.
0 comments:
Post a Comment