Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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.
 
PREVIOUS NEXT
Tagged: #string #immutsble #java
ADD COMMENT
Topic
Name
3+4 =