Question: are strings immutable in java?
Answer: 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. ... println(s);//will print Sachin because strings are immutable objects.