Fivetran interview question

Why are strings immutable in java