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.

Related questions

0 votes
asked Jul 9, 2023 in Snowflake by Robin
0 votes
asked Feb 11, 2021 in Python by SakshiSharma
...