试题详情
单项选择题Which statement is true?()

A、 An anonymous inner class may be declared as final.

B、 An anonymous inner class can be declared as private.

C、 An anonymous inner class can implement multiple interfaces.

D、 An anonymous inner class can access final variables in any enclosing scope.

E、 Construction of an instance of a static inner class requires an instance of the enclosing outer class.

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

热门试题