This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
No. "" does not equal null. "" represents an empty String but not a null. Try comparing these two Strings: s1 = ""; s2 = null; System.out.println(s2.equals(s1)); System.out.println(s1.equals(s2)); The first test will answer false. The second test will throw a null pointer exception.