会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
水汐音
博客园
首页
新随笔
联系
订阅
管理
2018年10月18日
【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).的解决办法
摘要: 解决方法:看下是不是把类写在了别的类体里面 例如 正确的写法应该是 这是学面向对象时经常不小心掉的一个坑,特此记录QAQ
阅读全文
posted @ 2018-10-18 21:06 水汐音
阅读(401)
评论(0)
推荐(0)
编辑