Archives for March 2008

Java Tip: Testing String Equality

This article is part of an ongoing series entitled Java Tips: Writing Better Code.
Summary: This tip will show you a better way of comparing Java Strings with literal values.
Java Strings are object types rather than primitive types. This means that when you test the value of a String in Java you should use the […]