The document contains code for a Java program that takes user input of multiple strings, sorts them alphabetically, and outputs the sorted list. The program uses arrays and loops to store the input strings, compare them, and sort them into alphabetical order.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
22 views1 page
Sort String
The document contains code for a Java program that takes user input of multiple strings, sorts them alphabetically, and outputs the sorted list. The program uses arrays and loops to store the input strings, compare them, and sort them into alphabetical order.