It sounds like the Formatter class is not covered on the exam - except indirectly, perhaps. Here is a quote from K&B, p. 489:
Behind the scenes, the format() method uses the java.util.Formatter class to do the heavy formatting work. You can use the Formatter class directly if you choose, but for the exam all you have to know is the basic syntax of the arguments you pass to the format() method. The documentation for these formatting arguments can be found in the Formatter API.