Java exam: prebuilt methods?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://programmers.stackexchange.com/questions/120628/is-using-build-in-sorting-considered-cheating-in-practice-tests">Is using build-in sorting considered cheating in practice tests?</a>  </p>
</blockquote>



<p>I'm studying for a Java exam at the university. 
In your opinion, could I use, during the exam, </p>

<pre><code>Arrays.sort(intArray);
</code></pre>

<p>instead of creating my own algorithm?
How would you judge it, if you were the professor?</p>
