This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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.