how to know if two strings are lexicographically equal code example Example: lexicographically greater string java s1.compareTo(s4)