A

Admin • 832.52K Points
Coach

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

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.

Be the first to start discuss.