Immutability - Java, Final required if there are no setters

I have already read that for Immutable object

, what are the initial requirements for creating it.

But I don't understand about

If we don't expose ours field setters, should we still make the fields final

, if so, why .. ??

+3


source to share





All Articles