区别String的内容不可改变,而StringBuffer的内容可以改变。如果需要对字符串数据进行频繁修改,只能使用StringBuffer类
转载于:https://www.cnblogs.com/sunyuhuan/p/7325187.html
区别String的内容不可改变,而StringBuffer的内容可以改变。如果需要对字符串数据进行频繁修改,只能使用StringBuffer类
转载于:https://www.cnblogs.com/sunyuhuan/p/7325187.html