Synopsys Interview Question

why strings are immutable in java?