Pergunta de entrevista da empresa Fannie Mae

Why did the creators of Java make Strings immutable? What is the advantage of this?