Integer.toString(0123456789);
String.valueOf(0123456789);
Example Demo:
package zexample;
/**
*
* @author http://titodev.blogspot.com
*/
public class zExample {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String str_number_01 = Integer.toString(0123456789);
String str_number_02 = String.valueOf(0123456789);
System.out.println("Integer.toString: " + str_number_01);
System.out.println("String.valueOf: " + str_number_02);
}
}