[单项选择题] 下列代码的执行结果是( )。
public class test5
public static void main (String args[])
String s1=new String("hello");
String s2=new String("hello");
System.out.prim(s1==s2);
System.out.print(",");
System.out.println(s1.equals(s2));
A.true,false
B.true,true
C.false,true
D.false,false
参考答案:
C问题解析:
解析无

![[单项选择题] 下列代码的执行结果是( )。 public class test5 public static void main (String args[]) String s1=new [单项选择题] 下列代码的执行结果是( )。 public class test5 public static void main (String args[]) String s1=new](http://www.mshxw.com/aiimages/31/254296.png)
