+ 2
What is the difference between String and array in java?
3 Answers
+ 4
In short, string is immutable and array is mutable in Java. Immutable means once you create, you can't change its value. As a result, you can change array's value in Java but not string.