Allianz interview question

Why string is immutable and basic oops concepts