Q.

The property that when classes are arranged in a hierarchy, each class assumes the attributes and methods of its ancestors is called

A. generalisation
B. inheritance
C. encapsulation
D. information hiding
E. None of these
Answer» B. inheritance
1.4k
0
Do you find this helpful?
16

Discussion

No comments yet