Given:
What is the output?
A
B
C
D
E Compilation fails
F An exception is thrown at runtime
Answer: D
解析本題主要考察String類的+運算符使用String在java中定義時修飾符為final且對+運算符進行了重載+操作相當於字符串的連接