Import Java. util. calendar; import Java. util. locale; public class Hello {public static void main (string [] ARGs) {long n= 382112; system. out. format ("% d % N", n); system. out. format ("% 08d % N", n); system. out. format ("% + 8d % N", n); system. out. format ("%, 8D % N", n); system. out. format ("% +, 8D % N", n); double Pi = math. pi; // obtain the circumference rate system. out. format ("% F % N", Pi); system. out. format ("%. 3f % N ", Pi); system. out. format ("% 10.3f % N", Pi); system. out. format ("%-10.3f % N", Pi); system. out. format (locale. france, "%-10.4f % N", Pi); // use French to indicate calendar c = calendar. getinstance (); // get the object system that represents the current date. out. format ("% TB % te, % ty % N", C, C); system. out. format ("% TM % te, % ty % N", C, C); system. out. format ("% TL: % TM % TP % N", C, C); system. out. format ("% TD % N", c );}}