The format specifiers for general, character, and numeric types have the following syntax: %[argument_index$][flags][width][.precision]conversion
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
%[flags][width]conversion
Ireneusz Kordal wrote:The format specifier has syntax: %[flags][width]conversion 0 - is flag (result will be 0-padded) 1 - is width (the minimum number of characters to be written to the output) look here: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Formatter.html
Ireneusz Kordal wrote:The format specifier has syntax:
vineet walia wrote:it is not width try change argumnet 7 and then 7267 ?
[SCJP 6.0]
Studying for SCJP 6
SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks