June 2017
Beginner
1296 pages
69h 23m
English
This appendix summarized how to display formatted output with various format characters and flags. We displayed decimal numbers using format characters d, o, x and X; floating-point numbers using format characters e, E, f, g and G; and dates and times in various format using format characters t and T and their conversion suffix characters. You learned how to display output with field widths and precisions. We introduced the flags +, -, space, #, 0, comma and (that are used together with the format characters to produce output. We also demonstrated how to format output with class Formatter.