What is the difference between null and the \"\" (empty string)?
null
\"\"
I have written some simple code:
String a = \"\"; String b
null means the name isn't referencing any instantiated object. "" means an empty string.
Here a is referencing some object which happens to be an empty string. b isn't referencing any object as it's null.