✏️ Explanatory Question

Why is StringBuffer called mutable?

👁 2,899 Views
📘 Detailed Answer
No previous question
No next question
💡

Answer with Explanation

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.
No previous question
No next question