• 2022-06-07
    运行下面的程序段,输出结果是()。Strings1=newString("abc");StringBuffers2=newStringBuffer("abc");s2.append(s1);s1=s2.toString();s1.concat("abc");System.out.println(s1);
    A: abc
    B: abcabc
    C: 编译错误
    D: abcabcabc