阅读背景:

Java中的静态匿名类肯定是错误的吗?

来源:互联网 

I've read elsewhere that a static anonymous class doesn't make sense - that all anonymous classes should be tied to an instance of the enclosing type. But the compiler let's you do it. Here's an example:I've read elsewhere that a static anonymous cla




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

分享到: