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

Java认证考试

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

What is the result?()

  • A、 The code compiles and “s=” is printed.
  • B、 The code compiles and “s=” + s);
  • C、 The code does not compile because Strings is not initialized.
  • D、 The code does not compile because Strings cannot be referneed.
  • E、 The code comiles, but a NullPointer Exception is thrown when toString is called.
正确答案:C
答案解析:
进入题库查看解析

微信扫一扫手机做题