链接:
https://www.nowcoder.com/questionTerminal/f06ee75317c44b44b43b10b1ffc866bd
来源:牛客网
来源:牛客网
String str1="hello"; String str2="he"+"llo"; String str3="he"+new String("llo");
str1==str2 true
str1==str3 false