这是我的课:
public class T {
public int num = 100;
private int num2 = -1;
//inner class
public static class Inner {
private int num2 = 250;
public void method() {
System.out.println(num2);//calls inner class num
System.out.println(...);//should print class T num
System.out.println(...);//should print class T num2
}
}
}
如何使第二个和第三个println打印T类的num和num2?