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

时间:2022-09-15 16:13:40 所属题库:SCJP程序员认证考试题库

相似题目