C++ Programming - OOPS Concepts - Discussion
Discussion Forum : OOPS Concepts - General Questions (Q.No. 39)
39.
Which of the following are available only in the class hierarchy chain?
Discussion:
13 comments Page 2 of 2.
Poonam said:
1 decade ago
@Saksham if public members can be accessed it means it is available.
Siya said:
10 years ago
I am confused. Public members can also be available in hierarchy chain. If they are inherited publicly, privately, protected.
Muhil said:
6 years ago
The classes form a class hierarchy, or inheritance tree, which can be as deep as needed. The hierarchy of classes in Java has one root class, called Object, which is a superclass of any class. Instance variable and methods are inherited down through the levels.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers