• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding String Object  RSS feed

 
surya.raaj prakash
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The println(String) method calls the print(String) method, actually includes a null argument as a special case -- it actually looks like



 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!