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

Java认证考试

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

Which three statements are true?()

  • A、Compilation fails.
  • B、The code compiles and the output is 2.
  • C、If lines 16, 17 and 18 were removed, compilation would fail.
  • D、If lines 24, 25 and 26 were removed, compilation would fail.
  • E、If lines 16, 17 and 18 were removed, the code would compile and the output would be 2.
  • F、If lines 24, 25 and 26 were removed, the code would compile and the output would be 1.
正确答案:B,E,F
答案解析:
进入题库查看解析

微信扫一扫手机做题