多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

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
答案解析:
进入题库查看解析

微信扫一扫手机做题