+ 1

How can i arrange the value in java collection?

So i have this assignment that is due on friday. I just want to ask what java collection i should use. The problem that he gave is i should arrange the value in ascending order Ex. input: "c", "a", "d", "b" Output should be: a, b, c, d What will i use and do?

15th Feb 2022, 8:34 AM
Easy Carry
4 Answers
15th Feb 2022, 8:57 AM
Jayakrishna 🇮🇳
+ 2
Easy Carry , String array.
15th Feb 2022, 8:46 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 1
Thank you Jayakrishna🇮🇳 it works
15th Feb 2022, 9:49 AM
Easy Carry
15th Feb 2022, 9:50 AM
Easy Carry