Friday, February 24, 2006

Setting data members in a class

How many ways are there to set data members of a class? One way is to have the class provide setter apis. Second way is that the constructor
of the class lets client pass the values as arguments.

No comments: