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
答案解析:有
微信扫一扫手机做题