title: Long to String in java
body: <p>There is a code :</p>
  
  <pre><code>    Long val = 10L
  </code></pre>
  
  <p>If I want to take its value  as a String which approach is correct?</p>
  
  <p><code>val.toString()</code> or <code>(String)val</code>?</p>