试题详情
- 多项选择题Which statements about static inner classes are true?()
A、 A static inner class requires a static initializer.
B、 A static inner class requires an instance of the enclosing class.
C、 A static inner class has no reference to an instance of the enclosing class.
D、 A static inner class has access to the non-static members of the outer class.
E、 Static members of a static inner class can be referenced using the class name of the static inner class.
- C,E
关注下方微信公众号,在线模考后查看
热门试题