Redesign the Sorts class so that the selectionSort and selectionSortDescend methods call a private method called swap which swaps the two numbers. The signature of the swap method should be: private static void swap (int [] numbers, int min, int index)
@cluefulJan 03.2011 — #Redesign the Sorts class so that the selectionSort and selectionSortDescend methods call a private method called swap which swaps the two numbers. The signature of the swap method should be: private static void swap (int [] numbers, int min, int index)[/QUOTE]You're asking in the wrong forum but in your case it's not going to make any difference.
[CODE]System.out.println( "Since you're not prepared to do any work - DROP THE CLASS" ); [/CODE]