πŸ“Š DotNet Technology
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) It defines a class that inherits all the methods of A but the private members cannot be accesse

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
73
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate