Does java support out parameters?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8355404/how-to-implement-int-in-out-params-in-java">How to implement int in/out params in java</a>  </p>
</blockquote>



<p>Say I want to write a method that returns a User object, and also I want to modify UserStatus enumeration.</p>

<p>In c# I could do:</p>

<pre><code>public User InsertNewUser(User newUser, out UserStatus userStatus)
{

}
</code></pre>

<p>The out (http://msdn.microsoft.com/en-us/library/t3c3bfhx(v=vs.80).aspx) basically gives me multiple objects that get 'returned'.</p>

<p>Curious if java has this?</p>
