File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Empty string & null?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Empty string & null??" Watch "Empty string & null??" New topic

Empty string & null??

Tom Barns
Ranch Hand

Joined: Oct 27, 2000
Posts: 138
what is the difference between empty string as ""
and string object is null?
please example
thanks alot

Thanks for your help.
Paul Caudle
Ranch Hand

Joined: Jun 08, 2000
Posts: 64
Answer posted in reply to your question in the beginner's forum.
I agree. Here's the link:
subject: Empty string & null??
It's not a secret anymore!