• 2022-05-29
    假设s1、s2、s3、s4是四个字符串,给定如下语句: String s1 = "Welcome to Java"; String s2 = s1 String s3 = new String("Welcome to Java"); String s4 = "Welcome to Java";以下选项结果是“false”的是哪个?
    A: str1==str2
    B: str1.equals(str3)
    C: str1==str3
    D: str1==str4