12
I was doing some simple algorithms in Java and most of the time it is used System.out.println()
or System.out.print()
, but to make the definition of the number of decimal places I am using System.out.printf()
. I know there is a difference between the first two, both in operation and implementation. But what is the difference between them and the last?
Very enlightening Formatter class, grateful!
– pmargreff