📜  java代码示例中的字符串不可变

📅  最后修改于: 2022-03-11 14:52:18.406000             🧑  作者: Mango

代码示例2
In java, string objects are immutable. Immutable simply means unmodifiable or unchangeable.

Once string object is created its data or state can't be changed but a new string object is created.