试题详情
- 单项选择题 String a = null; a.concat(“abc”); a.concat(“def”); System.out.println(a); What is the result?()
A、 abc
B、 null
C、 abcdef
D、 Compilation fails.
E、 The code runs with no output.
F、 An exception is thrown at runtime.
- F
关注下方微信公众号,在线模考后查看
热门试题
A、 abc
B、 null
C、 abcdef
D、 Compilation fails.
E、 The code runs with no output.
F、 An exception is thrown at runtime.
关注下方微信公众号,在线模考后查看