Compare the 3 input strings using the String compareTo method and swap the values so that str1 holds the smallest string, str2 holds the next smallest, and str3 holds the largest. Declare 3 String variables str1, str2, str3 to initially hold the 3 input strings entered by the user, then sort the strings into the variables without using arrays or built-in sorting methods by comparing and swapping the string values.