Computer Science: Java MC
<pre><code>private int[] myStuff;
/** Precondition: myStuff contains int values in no particular order.
  /*/ 
public int mystery(int num)
{
    for (int k = myStuff.length-1; k&gt;=0; k--)
    {
        if (myStuff[k] &lt; num)
        {
           return k;
        }
    }
return -1;
}
</code></pre>

<p>Which of the following best describes the contents of myStuff after the 
following statement has been executed?</p>

<pre><code>int m = mystery(n); 
</code></pre>

<p>Answer: All values in positions m+1 through myStuff.length-1 are 
greater than or equal to n.</p>

<p>Can anyone explain why this answer is correct? I'm not sure what they mean by contents but, I concluded that myStuff is unchanged because the code doesn't alter the value of myStuff. </p>
