aspose file tools
The moose likes Beginning Java and the fly likes Regarding String Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regarding String Object" Watch "Regarding String Object" New topic

Regarding String Object

surya.raaj prakash
Ranch Hand

Joined: Oct 30, 2009
Posts: 76
Hi Friends,
I'm new to Java Technology,please clarify my doubts.

Here the string variable is not references to any object(i.e null)so How I got the output result is null?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189

The println(String) method calls the print(String) method, actually includes a null argument as a special case -- it actually looks like

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: Regarding String Object