public class Test {
   public static void main(String[] args) {
      int number = 123;
      String numberAsString = String.format ("%05d", number);
      System.out.println(numberAsString);
   }
}

Update and rename intstrzero to intstrzero/Test.java