题目内容
(请给出正确答案)
[单选题]
s="hello",t="world",s+=t,则s[-1]为
A.''
B.'o'
C.'h'
D.'w'
E.'d'
如搜索结果不匹配,请 联系老师 获取答案
A.''
B.'o'
C.'h'
D.'w'
E.'d'
第1题
下列哪个程序段可能导致错误?
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题
A.s>>>=1;
B.int i = s.length();
C.String ts = s.trim();
D.String t = s+”!”;
第3题
A.s>>>=1;
B.int i=s.length();
C.String ts=s.trim();
D.String t=s+”!”;
第4题
证明:
(1) (αS+βT)*=αS*+βT*,当α,β∈K;
(2)(ST)*=T*S*;
(3)(T*)-1=(T-1)*
第5题
下列的哪个程序段可能导致错误? ()
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";
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!