首页 试题广场 > 试题详情
单选题

What will be printed when you execute the following code? class C {? ? C() {? ? ? ? System.out.print("C");? ? }}class A {? ? C c = new C();? ? A() {? ? ? ? this("A");? ? ? ? System.out.print("A");? ? }? ? A(String s) {? ? ? ? System.out.print(s);? ? }}class Test extends A {? ? Test() {? ? ? ? super("B");? ? ? ? System.out.print("B");? ? }? ? public static void main(String[] args) {? ? ? ? new Test();? ? }}

  • A.BB
  • B.CBB
  • C.BAB
  • D.None of the above
提交并查看答案
下一题 上一题
Ke星伙伴们的回答/ 12个回答
关闭
关闭
QQ
交流群
邀请
好友
App
下载
意见
反馈
返回
顶部