Writing a mutator method
<p>Revision of mutator method definition</p>

<p>Write a mutator method setAge() that takes a single parameter of type int and sets the value of variable age
Paste your answer in here:</p>

<pre><code>public int setAge(int age) 
{
   return age;
}
</code></pre>

<p>Comments:</p>

<pre><code>* Test 1 (0.0 out of 1)

      The compilation was successful
      The output should have been:
          setAge() Correct

      This is what was actually produced:
          setAge() not Correct
</code></pre>

<p>confused on why i get this error, is it because i have (int age) after setAge that is why the error is comming up?</p>
