swaraj gupta wrote:Output: Math.E=true why so?
Why not "FormatConversionException" on line#5?
From the JavaDoc, from the format conversion table...
'b', 'B' general 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".
Henry