单选题Which statement about static inner classes is true?()AAn anonymous class can be declared as static.BA static inner class cannot be a static member of the outer class.CA static inner class does not require an instance of the enclosing class.DInstance me

题目
单选题
Which statement about static inner classes is true?()
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.


相似考题