单选题:Which statement about static inner classes is true
Which statement about static inner classes is true @[C](2)
A. An anonymous class can be declared as static
B. A static inner class cannot be a static member of the outer class
C. A static inner class does not require an instance of the enclosing class
D. Instance members of a static inner class can be referenced using the class name of the static inner class
A.An anonymous class can be declared as static
B.A static inner class cannot be a static member of the outer class
C.A static inner class does not require an instance of the enclosing class
D.Instance members of a static inner class can be referenced using the class name of the static inner class
答案:C
A. An anonymous class can be declared as static
B. A static inner class cannot be a static member of the outer class
C. A static inner class does not require an instance of the enclosing class
D. Instance members of a static inner class can be referenced using the class name of the static inner class
A.An anonymous class can be declared as static
B.A static inner class cannot be a static member of the outer class
C.A static inner class does not require an instance of the enclosing class
D.Instance members of a static inner class can be referenced using the class name of the static inner class
答案:C