1、String,StringBuilder,StringBuffer三者的区别?
- String字符串常亮,StringBuffer和StringBuilder是字符串变量
- StringBuffer线程安全,StringBuilder线程不安全
- 对于字符串拼接,String常量拼接速度,小于StirngBuilder,StirngBuilder小于StringBuffer
2、
1、String,StringBuilder,StringBuffer三者的区别?
2、
原文:https://www.cnblogs.com/520playboy/p/8430676.html