Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- System.out.println("Quick sort:");
- int[] elements = { 20, 8, 30, 5, 18, 35, 15, 41, 10 };
- QuickSort.sort(elements);
- /* Print the elements */
- for (int i: elements) {
- System.out.println(i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement