下面的哪些Java程序片断可能导致错误。

发布于 2021-03-31 22:39:59
【多选题】
A String s = "Gone with the wind"; String t = " good "; String k = s + t;
B String s = "Gone with the wind"; String t; t = s[3] + "one";
C String s = "Gone with the wind"; String standard = s.toUpperCase();
D String s = "home directory"; String t = s - "directory";

查看更多

关注者
0
被浏览
67
  • 体验AI问答!更聪明、超智能!
  • 一款基于GPT的超级AI助手,可以对话、创作、写文案!
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服