1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| final public class Test {
public class Titi {
}
}
public class Test2 {
public class Titi2 extends Test.Titi {
}
}
=> "Test2.java": an enclosing instance that contains Test.Titi is required at line 2, column 3
public class Test3 {
public Test3() {
Test t = new Test();
Test.Titi titi2 = new Test.Titi();
Test.Titi titi3 = new t.Titi();
}
}
=>"Test3.java": an enclosing instance that contains Test.Titi is required at line 4, column 23
=>"Test3.java": package t does not exist at line 5, column 30 |
Partager