The major goal of inheritance in C++ is ?
A. To facilitate the reusability of code
B. To help modular programming
C. To facilitate the conversion of data types
D. To extend the capabilities of a class
Answer:A
The major goal of inheritance in C++ is ?
A. To facilitate the reusability of code B. To help modular programming C. To facilitate the conversion of data types D. To extend the capabilities of a class