下列的哪个程序段可能导致错误? ( )

admin2013-03-01  22

问题 下列的哪个程序段可能导致错误?    (    )

选项 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";

答案2

解析
转载请注明原文地址:https://kaotiyun.com/show/c82p777K
0

随机试题
最新回复(0)