分类:教程 - pengpegnlang的博客

Java报错:No enclosing instance of type XXX is accessible.

记录一次做题时Java报错的原因,报错提示:No enclosing instance of type XXX is accessible. Must qualify the allocation with an enclosing instance of type XXX (e.g. x.new A() where x is an instance of XXX).

    Java   教程