张永

Results 2 comments of 张永

String 拼接字符串时每次都会创建新的对象,适合少量拼接使用,速度最慢 StringBuffer 线程安全,适合多线程使用,比String快 StringBuilder 线程不安全,适合单线程使用,速度最快

就是logcat打印的内容呀