There are more than 10 instance variables in a class . What is the best way to make class immutable in java. Of course one way is to have a constructor with 10 parameter.
Aucun commentaire:
Enregistrer un commentaire