best answer > What is the use of protected keyword in Java 2024?- QuesHub | Better Than Quora
  • What is the use of protected keyword in Java 2024?

    关键字 变量 方法

    Questioner:Lucas Turner 2023-05-05 12:30:26
The most authoritative answer in 2024
  • Lucas Clark——Works at the International Development Association, Lives in Washington, D.C., USA.

    The protected keyword is an access modifier for method and variable of a class. When a method or a variable is marked as protected, it can be accessed from: Within the enclosing class. Other classes in the same package as the enclosing class.read more >>
    +119962023-05-12 12:30:26

About “关键字、变量、方法”,people ask:

READ MORE:

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.

分享到

取消