1.

What is the output of the code public class B: A { }?

A. Errors
B. It defines a class that inherits the public methods of A only
C. It defines a class that inherits all the methods of A but the private members cannot be accesse
D. D Both b and c
Answer» D. D Both b and c


Discussion

No Comment Found