Why is StringBuffer called mutable in java ? | Java Interview Questions

preview_player
Показать описание
The String class is considered as immutable, so that once it is created a String object cannot be changed. If there is a necessity to make alot of modifications to Strings of characters then StringBuffer should be used.
Рекомендации по теме