Thanks Jose...
I understand it now... When I comment out the
method having a string as an argument, the program prints "Object".
But regarding "null", a question still remains in my mind. I wrote a small program..
This program gave the following output...
This means that while a null object can be created, no operaton can be carried out on it..right?... While I can understand the exception at line 4, I fail to do so for line 10.

Do comment on this.
Thanks in Advance
Shyam
[This message has been edited by Shyamsundar Gururaj (edited September 09, 2001).]