[Solved] Is Setters can have more than one argument? If it’s how it useful? [closed]
Setter usually refers to a method which sets the value of one class variable. So it needs only one parameter. If you want a method which sets the values of two class variables you can do that of course but that’s not usually what is meant by setter. Based on additional question asked by OP, … Read more