Use Sophia to knock out your gen-ed requirements quickly and affordably. Learn more
×

String: compareTo() (Java)

Author: Nathan Schutz

This video looks at how the compareTo() method is used within the String class of Java. It explains lexicographic ordering and special cases in Java.