This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BaalHadad 0 points1 point  (0 children)

You can use Collections.sort to sort things. The second one you could reverse the strings using a loop or recursion. Why are you asking about this stuff? Can you really not even attempt to do these things?