The property that, when classes are arranged in a hierarchy , each class assumes the attributes and methods of its ancestors is ----------
A. Generalization
B. Inheritance
C. Encapsulation
D. Information hiding
Answer:B
The property that, when classes are arranged in a hierarchy , each class assumes the attributes and methods of its ancestors is ----------
A. Generalization B. Inheritance C. Encapsulation D. Information hiding