We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07cc268 commit e433259Copy full SHA for e433259
intelliJ/src/J015_Protected/ClassB.java
@@ -8,6 +8,7 @@ public void testAccess(){
8
this.protectedMethod();
9
10
ClassA objA = new ClassA();
11
- objA.protectedMethod();
+ // objA.protectedVar = 5; // No access
12
+ // objA.protectedMethod(); // No access
13
}
14
0 commit comments