A. | items |
B. | inven.txt |
C. | either (a) or (b) |
D. | none of these |
Option: B Explanation : Click on Discuss to view users comments. |
Inheritance is the principle that
A. |
classes with the same name must be derived from one another
|
B. |
knowledge of a genral category can be applied to more specific objects
|
C. |
C++ functions may be used only if they have logical predecessors
|
D. |
one function name may invoke different methods
|
Option: B Explanation : Click on Discuss to view users comments. |
A. | additional data members |
B. | additional member functions |
C. | both (a) and (b) |
D. | none of these |
Option: D Explanation : Click on Discuss to view users comments. |
A. | functions that return only a single value |
B. | #include files |
C. | inheritance |
D. | all of these |
Option: D Explanation : Click on Discuss to view users comments. |
A. | class Child::Mother, Father |
B. | class Child:Mother, Father |
C. | class Child::public Mother, public Father |
D. | class Child:public Mother, public Father |
Option: D Explanation : Click on Discuss to view users comments. |