title: what is the difference between (char)temp and Character.toChars(temp) and String.valueOf(Character.toChars(temp)) in java
body: <p>I got the same result from these, what is the difference? which is better?
  temp is an int, read from reader.read()</p>
  
  <pre><code>System.out.print((char)temp);
  
  System.out.print(Character.toChars(temp));
  
  System.out.print(String.valueOf(Character.toChars(temp)));
  </code></pre>