1. Engineering
  2. Computer Science
  3. print the two strings in alphabetical order assume the strings...

Question: print the two strings in alphabetical order assume the strings...

Question details

Print the two strings in alphabetical order. Assume the strings are lowercase. End with newline. Sample output capes rabbits 1 import java.util.scanner; 3 public class OrderStrings 4 public static void main (String [1 args) Scanner scnr new Scanner(System.in); String firstString; String secondString; firstString secondString =scnr . next(); - scnr.next 10 12 13 14 15 Your solution goes here

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution