• 2022-05-28
    下面的哪些程序片断可能导致错误?()
    A: Strings=“Gonewiththewind”;Stringt=“good“;Stringk=s+t;
    B: Strings=“Gonewiththewind”;Stringt;t=s[3]+“one”;
    C: Strings=“Gonewiththewind”;Stringstandard=s.toUpperCase();
    D: Strings=“homedirectory”;Stringt=s–“directory”;