You do not need to tell that it is a String. We can look at the method decalaration.
It is not the code of the "book" that is accepted. It is the code of the "publisher" that is accepted.