• 2021-04-14
    请说出下列代码的执行结果 :
    String s = "abcd";
    String s1 = new String(s);
    if (s = = s1) System.out.println("the same");
    if (s.equals(s1)) System.out.println("equals");