以下语句的含义是() char[] arrcrlf={13,10}; String crlf=new String(arrcrlf); stringBuffer dest = new StringBuffer("西行漫记"); dest.append(crlf);
- A、字符串"西行漫记"不变
- B、字符串"西行漫记"的最后一个字被删除
- C、语句存在语法错误
- D、在字符串"西行漫记"的后面加回车换行符
正确答案:D
答案解析:有
微信扫一扫手机做题
以下语句的含义是() char[] arrcrlf={13,10}; String crlf=new String(arrcrlf); stringBuffer dest = new StringBuffer("西行漫记"); dest.append(crlf);
微信扫一扫手机做题