题目内容
下列【1】、【2】、【3】、【4】注释标注的哪行代码有错误?public class E {public static void main (String[]args) {String str1 = new String(""); //【1】int [] a = {97,98,99};String str2 = new String (a); //【2】char [] c = {'a','b','c'};String str3 = new String (c); //【3】String str4 = new String(); //【4】System.out.println(str4.equals(""));}}
查看答案
搜索结果不匹配?点我反馈