Question: what is the difference between null and null in java?
Answer: "" and null both are different . the first one means as part of string variable declaration the string constant has been created in the string pool and some memory has been assigned for the same. But when we are declaring it with null then it has just been instantiated jvm , but no memory has been allocated for it.