The == operator here tests whether "" and email point are in the same memory location. Even if the variable email did in fact contain an empty
string, the == doesn't know that's what you mean. The equals() method in the String class is a
test for what's in the String, rather than where the thing is located.