1 . int compareTo() : Compares two strings lexicographically(Alphabetical order).

2. string compareToIgnoreCase() : Compares two strings lexicographically, ignoring case differences(independent of lower or upper case).