No enclosing instance of type test is accessible. Must qualify the allocation with an enclosing inst
Noenclosinginstanceoftypetestisaccessible.Mustqualifytheallocationwithanenclosinginstanceoftypetest(e.g.x.newA()wherexisaninstanceoftest).问题出现的原因是:因为在做Demo测试,我写的内部类是动态的,即publicclass开头无stati