πŸ“Š C#
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Defines a class that inherits the public and protected methods of A only

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
164
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
87%
Success Rate