Q. What is the output of the code public class B: A { }?
β
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