Question from the Java and Craftsmanship test

Immutability mainly allows to avoid side effects and to have thread-safe behaviours.