Skip to content

An object that cannot change

A class has final fields, no setters, and returns copies of any mutable internal state.

What is the main benefit?