Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
The code public class B : A { } | |
A. | Defines a class that inherits all the methods of A [Wrong Answer] |
B. | Defines a class that inherits the public and protected methods of A only [Correct Answer] |
C. | All of the above [Wrong Answer] |
D. | Error [Wrong Answer] |