Answer
String immutability enables thread safety, prevents accidental mutation, and supports optimizations like interning.
String immutability enables thread safety, prevents accidental mutation, and supports optimizations like interning.
Sign in to access all features and personalize your learning experience.
Source: SugharaIQ