Atlassian interview question

Why are String objects immutable in Java?