Question d’entretien chez Whatfix

Why is String class immutable in java?