A-A+
下列的()程序段可能导致错误。A.String s=hello: Sting t=go
问题详情
下列的()程序段可能导致错误。
A.String s="hello": Sting t="good"; String k=s+t;
B.Sting s="hello"; String t; t=s [3] + "one";
C.Sting s="hello"; String standard=s.toUpperCase();
D.String s="hello": Stringt s +"good";请帮忙给出正确答案和分析,谢谢!
参考答案
正确答案:B