String 为什么是不可变的?

22 阅读1分钟

使⽤ final 和 private 关键字修饰,因此是不可变的。