I\'ve tried this, but it does not work
for (int i=0; i<=24; i++) { System.out.println(String.format("%01d", i)); }