试题详情
多项选择题Which of the following fragments might cause errors?()    

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

  • B,D
  • 关注下方微信公众号,在线模考后查看

热门试题