class PrintTest{ public static void main(String[] args) { double d=222.4578; System.out.printf(â% .2fâ,d); } }
Does not compile
Throws IllegalFormatConversionException
Prints 222.46
Prints 222.45