Is it better to do toString() or cast the Object to String
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/676363/string-or-tostring">(String) or .toString()?</a>  </p>
</blockquote>



<p>I have an Object. Is it better to do like this</p>

<pre><code> final String params = myObject.toString();
</code></pre>

<p>or </p>

<pre><code> final String params =(String)myObject;
</code></pre>
