试题详情
- 单项选择题 class One { public One() { System.out.print(1); } } class Two extends One { public Two() { System.out.print(2); } } class Three extends Two { public Three() { System.out.print(3); } } public class Numbers{ public static void main( String[] argv) { new Three(); } } What is the result when this code is executed?()
A、 1
B、 3
C、 123
D、 321
E、 The code rims with no output.
- C
关注下方微信公众号,在线模考后查看
热门试题
- What is
- public interfa
- class Parent&e
- class A {
- 设计一个圆类,将圆的位置(圆心坐标和半径
- A web bro
- switch(x) {&en
- 根据以下公式pi/2=1+1/3+1/3
- Given: 11.<% 12.req
- 有工人,农民,教师,科学家,服务生,其中
- Which interfac
- public class&e
- Which two̳
- 定义10个长度的Student数组,将1
- 面板缺省搭配的是什么布局管理器̳
- Which statement
- 10.publicclassBar{
- 程序: class&ens
- Which thethree&
- Which statement