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.
Strings are not compared using "==", they're compared using the "equals" method. "==" tests the equality of the two String references, not the equality of the string contents. [ October 25, 2006: Message edited by: Ulf Dittmer ]