In order to restrict a variable of a class from inheriting to subclass, how variable should be declared?

In order to restrict a variable of a class from inheriting to subclass, how variable should be declared?
A. Protected
B. Private
C. Public
D. Static
 

Tìm kiếm

Back
Top