请问System.out.println(str1==str4)输出的值是多少?
qzdsq 2005-07-17 10:39:59 String str1="my file1 is null";
String str2="my file1 ";
String str3="is null";
String str4="my file1 is null"
String str5=new String("my file1 is null");
System.out.println("str1==str4:"+str1==str4+);
System.out.println("str1.equals(str4):"+str1.equals(str4)+);
System.out.println("str1==(str2+str3):"+str1==(str2+str3)+);
System.out.println("str1.equals(str2+str3):"+str1.equals(str2+str3)+);
System.out.println("str1==str5:"+str1==str5+);
System.out.println("str1.equals(str5):"+str1.equals(str5)+);
请问上面的System.out.println输出的值是多少?
那位仁兄知道请告知.