Infosys Interview Question

Why string is immutable in java?