低级错误:Like other members, a nested class can be declared static (or not). A static nested class is called just that: a static nested class. A nonstatic nested class is called an inner class. These are illustrated in the following code: class EnclosingClass{
. . .
static class AStaticNestedClass {
. . .
}
class InnerClass {
. . .
}
}
--摘自《The Java Tutorial》
. . .
static class AStaticNestedClass {
. . .
}
class InnerClass {
. . .
}
}
--摘自《The Java Tutorial》
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货