Rahul.p Kumar wrote:ok you take print of string in case it is null, it still prints your box. What is that? What is null?
No it doesn't "print your box". There is a special check in the print to see if it is null, and replaces it with "null", so it can be printed.
Or to stay with the metaphor... when you ask your friend to tell you what's in the box, he will tell you what is in the box, but if there is no box, will tell you that there is no box.
Henry