0 votes
in JAVA by
What is the meaning of immutable regarding String?

1 Answer

0 votes
by
The simple meaning of immutable is unmodifiable or unchangeable. In Java, String is immutable, i.e., once string object has been created, its value can't be changed. Consider the following example for better understanding.
...