Check string difference

(argument String = specified String ) If you want to ignore the cases of both the string use compareToIgnoreCase() method. I have given a program for comparing strings using the compareTo() method. It also consists of a case for ignoring the cases with compareToIgnoreCase() method. ................
................