Lab Goal : This lab was designed to teach you more about sorting data with the built-in java sorts. Lab Description : Take a list of words and output the list in ascending order. Use Arrays.sort(). Sample Data : abc ABC 12321 fred alexander a zebra friendly acrobatics 435 TONER PRinTeR b x 4 r s y $ 123 ABC abc 034 dog cat sally sue bob 2a2 Sample Output : word 0 :: 12321 word 1 :: ABC word 2 :: abc word 3 :: alexander word 4 :: fred word 0 :: 435 word 1 :: PRinTeR word 2 :: TONER word 3 :: a word 4 :: acrobatics word 5 :: friendly word 6 :: zebra word 0 :: $ word 1 :: 4 word 2 :: b word 3 :: r word 4 :: s word 5 :: x word 6 :: y word 0 :: 034 word 1 :: 123 word 2 :: 2a2 word 3 :: ABC word 4 :: abc word 5 :: bob word 6 :: cat word 7 :: dog word 8 :: sally word 9 :: sue I need a code class and a runner class
Lab Goal : This lab was designed to teach you more about sorting data with the built-in java sorts.
Lab Description : Take a list of words and output the list in ascending order. Use Arrays.sort().
Sample Data :
abc ABC 12321 fred alexander
a zebra friendly acrobatics 435 TONER PRinTeR
b x 4 r s y $
123 ABC abc 034 dog cat sally sue bob 2a2
Sample Output :
word 0 :: 12321
word 1 :: ABC
word 2 :: abc
word 3 :: alexander
word 4 :: fred
word 0 :: 435
word 1 :: PRinTeR
word 2 :: TONER
word 3 :: a
word 4 :: acrobatics
word 5 :: friendly
word 6 :: zebra
word 0 :: $
word 1 :: 4
word 2 :: b
word 3 :: r
word 4 :: s
word 5 :: x
word 6 :: y
word 0 :: 034
word 1 :: 123
word 2 :: 2a2
word 3 :: ABC
word 4 :: abc
word 5 :: bob
word 6 :: cat
word 7 :: dog
word 8 :: sally
word 9 :: sue
I need a code class and a runner class

Trending now
This is a popular solution!
Step by step
Solved in 2 steps









