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:D
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.