codeGK
Code it ALL
compareTo() - String in java - CodeGK

♦ compareTo() - String

♣ Example1: compareTo()

Input:
Output: