diff --git a/Sort/Java/Selection Sort b/Sort/Java/Selection Sort new file mode 100644 index 0000000..ddaad89 --- /dev/null +++ b/Sort/Java/Selection Sort @@ -0,0 +1,23 @@ +public class SelectionSort { + public static void main(String args[]){ + int array[] = {10, 20, 25, 63, 96, 57}; // declaration of array + int size = array.length; + + for (int i = 0 ;i< size-1; i++){ + int min = i; + + for (int j = i+1; j