-->
当前位置:首页 > 题库

单选题:Which statement about static inner classes is true

Luz5年前 (2021-05-10)题库896
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