I have already read that for Immutable object
, what are the initial requirements to create it.
But i am not clear about
If we do not expose our field setters, should we still make the fields final
, if yes why..??
I have already read that for Immutable object
, what are the initial requirements to create it.
But i am not clear about
If we do not expose our field setters, should we still make the fields final
, if yes why..??