Question: 1. Write a Java application which allows the user to enter two strings, which are to be compared to see if they are equal or

1. Write a Java application which allows the user to enter two strings, which are to be compared to see if they are equal or not. You should write a reusable class called StringComapre to compare the strings for equality, and an application class called StringCompareTest to test the StringCompare class. 2. Write a Java application that reads in a sentence from the user and outputs the sentence in upper and lowercase, using the toUpperCase() and toLowerCase() methods available with the String class. The application should also tokenize the sentence and display each individual token
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
