int i=1;
String s = String.format("%02d", i);
System.out.println(s);// print 01