The following is testing if the string variable is null in memory.



str == null



A string variable can exist without any content