0
How to sort char[]?
I have String input and I need to store it in char[] array: char[] charInput = input.toLowerCase().toCharArray(); How can I sort it?
1 Respuesta
0
Ah! I think --> Arrays.sort(charInput); is the answer.
I have String input and I need to store it in char[] array: char[] charInput = input.toLowerCase().toCharArray(); How can I sort it?