Task-8:
Write a java program to compare two Strings using the "compareTo()" method. Solution: I write a program having multiple Strings and when I use compareto function on these strings I found that is the compared object is big the answer will be negative if small answer will be a positive integer and if they are eequal it will be Zero.