摘要:
1 StringString:字符串常量,字符串长度不可变。2 StringBufferStringBuffer:字符串变量(Synchronized,即线程安全)。如果要频繁对字符串内容进行修改,出于效率考虑最好使用StringBuffer,如果想转成String类型,可以调用StringBuff... 阅读全文
摘要:
Java provides theStringBufferandStringclasses, and theStringclass is used to manipulate character strings that cannot be changed. Simply stated, objec... 阅读全文