Skip to content

Commit

Permalink
buchong
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Sep 13, 2023
1 parent 3087140 commit 17637bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/posts/java/java_8.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ String 类的效率比较低,每次更新都需要重新开辟空间,所以

- String:效率低,复用率高
- StringBuffer:效率较高,线程安全
- StringBuilder:效率最高,线程不安全
- StringBuilder:效率最高,线程不安全`Array.toString()` 就是用这个拼接的~

## 其它内部类,直接查手册吧~

0 comments on commit 17637bc

Please sign in to comment.