1.

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» C. encapsulation


Discussion

No Comment Found