试题详情
单项选择题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.

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题