I'm doing a program which is Selection Sort of an array of String... I want to get a 20 length string consist of letters from a-z and A-Z randomly...
I used String Buffer to get this random string but I'm having problems in doing the selection sort...
This is my code:
What does the bit about < 0 mean? That looks possibly incorrect to me.
You should lose the te variable and replace it with array.length.
You should move as much code out of the main() method as possible.