lundi 22 mai 2017

what java Design pattern to use for setting large number of member variables

Recently i faced one interview question.

Question :Suppose you have many values (lets say more then 20) which you need to set in object. now setting these values using setters or using constructor is tedious task.

What java design pattern will you use to solve this problem

Help me know the solution guys.

Aucun commentaire:

Enregistrer un commentaire