-
What is protected Java 2024?
包中
私人 成员
Questioner:Amelia Brown 2023-05-05 12:30:33
The most authoritative answer in 2024
-

-
Sophia Robinson——Studied at University of Oxford, Lives in Oxford, UK
A private member is only accessible within the same class as it is declared. A member with no access modifier is only accessible within classes in the same package. A
protected member is accessible within all classes in the same package and within subclasses in other packages.
read more >>
About “包中、私人、成员”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.