摘要:
这三个类的区别主要是在两个方面,即运行速度和线程安全这两方面 1.首先说运行速度,或者说执行速度 在这方面运行快慢 :StringBuilder==>StringBuffer==>String String 慢的理由: String 为字符串常量,而StringBuilder 和 StringBuf 阅读全文
posted @ 2018-03-11 15:18
LGH梁广华
阅读(118)
评论(0)
推荐(0)
2018年3月11日