narendra bhattacharya wrote:how it is possible to call null.toString() method.......
It not... what happens is that when you do object concatenation, it uses a string builder (or prior to
java 5, a string buffer). The append() methods of the string builder will check to see if the object is null. And if it is, it will be replaced with a string with the value "null".
Henry