

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following class definitions: class a { }; class b: protected a { }; What happens when we try to compile this class? |
A. | Will not compile because class body of a is not defined. |
B. | Will not compile because class body of b is not defined. |
C. | Will not compile because class a is not public inherited. |
D. | Will compile successfully. |
Answer» E. | |