Title: String Equals Comparison (JPHG)
Course: CPS 161: An Intro to Programming with Java - DL MM MASTER > Section: Learning Units - Bb

Presentations and Videos

- String Equals Comparison (JPHG) lecture video (Time: 00:00)
- String Equals Comparison (JPHG) document

- Operators that we used for numbers like ==,<,>, etc. don't work as you would expect with Strings
- Use the equals method for Strings, or the other methods: equalsIgnoreCase, compareToIgnoreCase
- Examples: StringCompare.java, StringComparisonDemo.java