+ 1
for an array string sorting in alphabetically if there are present upper or lower of same letter they arrange in alphabetically
To check code go to my profile and check Question no 1. Here I have create most part of code just small numeric part isn't solve can any one solve it https://code.sololearn.com/cN3mFsj314D7/?ref=app
2 Réponses
+ 2
What is your expected output?
Are you need total string to in alphabetical order?
+ 1
Alphabets are sorted according to their ASCII values. So always the string starting with a capital letter will come before the string starting with a small letter.
You could have used just an ArrayList to check it and it would have hardly took 10 lines to code.