试题详情
单项选择题 What is the result?()

A、 The code compiles and “s=” is printed.

B、 The code compiles and “s=null” is printed.

C、 The code does not compile because Strings is not initialized.

D、 The code does not compile because because Strings cannot be referneed.

E、 The code comiles.butt a NullPointerException is thrown when toString is called.

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题