System.out.printf vs System.out.format
System.out is a PrintStream, and quoting the javadoc for PrintStream.printf An invocation of this method of the form out.printf(l, format, args) behaves in exactly the same way as the invocation out.format(l, format, args)