What is the best way to convert any primitive data type to string
<p>I am using the following approach to convert any primitive data type to string</p>

<p><strong>Example</strong></p>

<pre><code>int i = 5;//
String convertToString = ""+i;// convert any primitive data type to string
</code></pre>

<p>To convert int data type to string i can use <code>Integer.toString()</code> but what is the better way to convert any type of primitive data (not only int) types to string </p>
