Java/Section03-SortAlgorithms/Sort-Algorithms-Sorting-Arrays-Using-the-JDK-Source-Code/Main.java
<reponame>mdbytes/AlgorithmsDataStructures<filename>Java/Section03-SortAlgorithms/Sort-Algorithms-Sorting-Arrays-Using-the-JDK-Source-Code/Main.javapackage academy.learnprogramming.sortingarrays;

import java.util.Arrays;

public class Main {

    public static void main(String[] args) {
        int[] intArray = { 20, 35, -15, 7, 55, 1, -22 };

        Arrays.parallelSort(intArray);

        for (int i = 0; i < intArray.length; i++) {
            System.out.println(intArray[i]);
        }
    }
}
