public class MainClass { public static void main( String args[] ) { System.out.printf( "%+09d\n", 452 ); System.out.printf( "%09d\n", 452 ); System.out.printf( "% 9d\n", 452 ); } }
+00000452 000000452 452