试题详情
- 单项选择题 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
关注下方微信公众号,在线模考后查看
热门试题
- 一个5位数,判断它是不是回文数。即123
- 10. publicQ
- 结构化程序设计有哪三种基本流程?分别对应
- 现有: 1. a
- 1.class SuperF
- 1. publicQ
- 下面哪个不对()。
- 以下关于Applet和Java程序之间关
- Assume the&ens
- Which statemen
- 为将数组myArray的长度由6改为1
- class Mineral&
- 以下关于GUI事件处理模型的叙述,哪两项
- 定义一个表示学生信息的类Student,
- Given in
- 11.public void genNu
- package foo; p
- int I=1,
- 12. String&ens
- Which statemen