Login
Remember
Register
Ask a Question
What is the meaning of immutable regarding String?
0
votes
asked
May 3, 2021
in
JAVA
by
Robindeniel
What is the meaning of immutable regarding String?
string
immutable-string
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 3, 2021
by
Robindeniel
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.
...