Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SortExample {
- public static void main(String[] args) {
- int[] numbers = {40, 7, 59, 4, 1};
- displayValues(numbers);
- }//end method main
- static void selectionSort(int[] numbers) {
- }//end method selectionSort
- static void displayValues(int[] numbers) {
- for(int i = 0; i< numbers.length; i++){
- System.out.print(numbers[i] + " ");
- }//endfor
- System.out.println("\n");
- }//end method displayValues
- }//end class SearchExample
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement