java程序,帮下忙,谢谢
提示NoenclosinginstanceoftypeTesttoStringisaccessible.Mustqualifytheallocationwithanenc...
提示No enclosing instance of type TesttoString is accessible. Must qualify the allocation with an enclosing instance of type TesttoString (e.g. x.new A() where x is an instance of TesttoString).为什么?怎样修改?
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询