Answers for "why string immutable in java"

3

why string immutable in java

In java, string objects are immutable. 
Immutable basically means unmodifiable
or unchangeable.
Once string object is created its data or
state can't be changed but a new
  string object is created
Posted by: Guest on January-22-2021
2

why are string immutsble in java

In java, string objects are immutable. Immutable simply means unmodifiable or unchangeable.

Once string object is created its data or state can't be changed but a new string object is created.
Posted by: Guest on November-15-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language