![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
语句Strings1=newString(“Hello”);Strings2=newString(“Hello”);System.out.println(s1==s2);System.out.printlv(s1.equals(s2));执行后的输出结果是()。
A.Hellofalse
B.Hellotrue
C.HelloHello
D.falsetrue
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.Hellofalse
B.Hellotrue
C.HelloHello
D.falsetrue
A.语句1
B.语句2
C.语句3
D.语句4