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 ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) Defines a class that inherits the public and protected methods of A only