阅读背景:

No enclosing instance of type TestGson is accessible. Must qualify the allocation with an enclosing instance of type TestGson (e.g. x.new A() where x is an instance of TestGson).

来源:互联网 

main方法中实例化内部类报错:

public class TestGson {
public static void main(String[] args) { publ




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: