Write a java program to compare two strings lexicographically.
Write a java program to compare two strings lexicographically.  Using the compareTo method for compar...
Tags: replit, java