Chapter 14: Problem 3
Write an application that uses String method compareTo to compare two strings input by the user. Output whether the first string is less than, equal to or greater than the second.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.