单项选择题
下列代码的执行结果是
____
。
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