If members of a super class are public, then________

If members of a super class are public, then________
A. All those will be available in subclasses
B. None of those will be available in subclasses
C. Only data members will be available in subclass
D. Only member functions will be available in subclass
 
Answer: a
Explanation: All the members will be available in subclasses. Though it is not guaranteed whether the members will be available in subsequent subclasses from the first subclass.
 

Tìm kiếm

Back
Top