An immutable class would not have setters because it is not allowed to change the contents of an immutable class. getters would be allowed. See the String class for an example.
Type: Posts; User: Norm
An immutable class would not have setters because it is not allowed to change the contents of an immutable class. getters would be allowed. See the String class for an example.
One benefit would be to make the class immutable. Once it was created via a constructor, its contents would not be changeable via setter methods.