is it must to use parameters in setter methods
<p>I am trying to write a method to set the length of a rack.</p>

<p>I am not sure if I have to put a length variable as a parameter in the method</p>

<pre><code>public class Rack {
    int racklength;


    public Rack(int racklength){
        racklength=racklength;
    }
    public int setRackLength(){
        return racklength;
    }
}
</code></pre>
