Home / Programming MCQs / C# MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. The code public class B : A { }

(A) Defines a class that inherits the public and protected methods of A only
(B) Defines a class that inherits all the methods of A
(C) Errors
(D) Both A and B

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.