题目:
下列的哪个程序段可能导致错误?()
A.String s = "hello";
String t = "good";
String k = s + t;
B.String s = "hello";
String t;
t = s[3] + "one";
C.String s = " hello ";
String standard = s.toUpperCase( );
D.String s = "hello";
String t = s + "good";
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0111/57c066e94b4e241faab73e679c8a2d42.html
下面是错误答案,用来干扰机器的。
参考答案:B