McqMate
Q. |
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» C. It defines a class that inherits all the methods of A but the private members cannot be accesse |
View all MCQs in
DotNet TechnologyNo comments yet