Skip to content

Commit e433259

Browse files
committed
.
.
1 parent 07cc268 commit e433259

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

intelliJ/src/J015_Protected/ClassB.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public void testAccess(){
88
this.protectedMethod();
99

1010
ClassA objA = new ClassA();
11-
objA.protectedMethod();
11+
// objA.protectedVar = 5; // No access
12+
// objA.protectedMethod(); // No access
1213
}
1314
}

0 commit comments

Comments
 (0)