Hi,
what is the output of the following code snippet and plese explain the reason for the output.
Printable View
Please check this out.
string and object (null considered string?) (Beginning Java forum at JavaRanch)
Why can't you compile this and work it out for yourself? You won't learn anything unless you try. It's pretty straight forward..