![SOLVED: CHALLENGE ACTIVITY 3.13.2: Print two strings in alphabetical order Print the two strings, firstString and secondString, in alphabetical order. Assume the strings are lowercase. End with newline. Sample output: capes rabbits SOLVED: CHALLENGE ACTIVITY 3.13.2: Print two strings in alphabetical order Print the two strings, firstString and secondString, in alphabetical order. Assume the strings are lowercase. End with newline. Sample output: capes rabbits](https://cdn.numerade.com/ask_images/544a5e00df4d4e0aa02b7cc8203343d0.jpg)
SOLVED: CHALLENGE ACTIVITY 3.13.2: Print two strings in alphabetical order Print the two strings, firstString and secondString, in alphabetical order. Assume the strings are lowercase. End with newline. Sample output: capes rabbits
![How to check if two String variables are same in Java? equals(), equalsIgnoreCase() and == operator Example | Java67 How to check if two String variables are same in Java? equals(), equalsIgnoreCase() and == operator Example | Java67](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPt-noEVNff44pILh6ti8AdqcZjOAFYqyAhIP6fLn1azJVe0uyofMRjBLxFXoH6Ip_4u4OfB-WvftBn3zjtulEyHokB2VK2IWi4TQT5o724p3Z_HnMhRKzZIUqjRVOpVn-cLExi5rAvzVJuP5iawA1L--l6YMna536pXpOyTtE-Px4efn6emzEszWF/w1200-h630-p-k-no-nu/equals%20vs%20equality%20operator%20in%20Java.png)
How to check if two String variables are same in Java? equals(), equalsIgnoreCase() and == operator Example | Java67
![University CS Major - Intro to Java] I thought compareTo() compared the lengths of strings, not the alphabetical order. This is an exercise my professor gave us to help us prep for University CS Major - Intro to Java] I thought compareTo() compared the lengths of strings, not the alphabetical order. This is an exercise my professor gave us to help us prep for](https://i.redd.it/voz3ywurbit91.png)