试题详情
- 单项选择题 package foo; public class Outer ( public static class Inner ( ) ) Which statement is true?()
A、 An instance of the Inner class can be constructed with “new Outer.Inner()”
B、 An instance of the inner class cannot be constructed outside of package foo.
C、 An instance of the inner class can only be constructed from within the outer class.
D、 From within the package bar, an instance of the inner class can be constructed with “new inner()”
- A
关注下方微信公众号,在线模考后查看
热门试题