Neither one of those examples will compile for me as posted.
...println should be printf.
As was stated previously, the %s formatting likely calls the toString() method on the Long wrapper class.
As for the boolean, the %b conversion character returns true for any non-null or non-boolean value. If you replaced the 123 with "A", it still prints true. [ July 11, 2007: Message edited by: Brad Clarke ]