Java-不可以访问foo类型的封闭实例
class Hello { class Thing { public int size; Thing() { size = 0; } } public static void main(String[] args) { Thing thing1 = new Thing(); System.out.println("Hello, World!"); }}
Thing
No enclosing instance of type Hello is accessible."
慕斯709654
人到中年有点甜
相关分类