In Page 489 of
SCJP book by Bert and Kathy:
--------------------------------------------------------------
printf("format string", argument(s));
The format
string can contain both normal string literal information that isn't asscoaited with any arguments, ...
--------------------------------------------------------------
Now I want to print char % using this printf method. Is this possible?
I have tried System.out.printf("%1$d %", 25); and System.out.printf("%1$d \\%", 25);
It is giving "Exception e: Conversion = '%'"
Is it that we cannot print this special char % using printf/format methods?
Regards
Murali
[ February 07, 2008: Message edited by: Murali Kakarla ]