Boolean constructor:
Boolean(String s) (API)
Parses the string argument as a boolean. The boolean returned represents the value true if the string argument is not null and is equal, ignoring case, to the string "true".
So,
new Boolean("4500") would have returned
false.
But with formating it's different: (API)
If the argument arg is null, then the result is "false". If arg is a boolean or Boolean, then the result is the string returned by String.valueOf(). Otherwise, the result is "true".
So we would print true instead of false here:
System.out.format("boolean %b", 4500);
cheers Bob