Question d’entretien chez Infosys

Why string is immutable in java?