Pergunta de entrevista da empresa Tata Consultancy Services

Why are strings immutable in java?