Pregunta de entrevista de Tata Consultancy Services

Why are strings immutable in java?