Which access specifier should be used so that all the parent class members can be inherited and accessed from outside the class?

Which access specifier should be used so that all the parent class members can be inherited and accessed from outside the class?
A. Private
B. Default or public
C. Protected or private
D. Public
 

Tìm kiếm

Back
Top