When a class serves as a base class to others,
A. | all of its members are inherited |
B. |
all of its members are inherited, except for any protected members
|
C. |
all of its members are inherited, except for any protected members
|
D. |
None of its members is inherited unless specifically listed
|
Option: B Explanation : Click on Discuss to view users comments. |
A. | may |
B. | may if the two classes have the same |
C. | must |
D. | must not |
Option: A Explanation : Click on Discuss to view users comments. |
A. | not called |
B. | called prior to the base class constructor |
C. |
called simultaneously with the base class constructor
|
D. | none of these |
Option: D Explanation : Click on Discuss to view users comments. |