String str1="1";. DecimalFormat df=new DecimalFormat("0000");. String str2=df.format(Integer.parseInt(str1));. System.out.println(str2);.
確定! 回上一頁