MCPcopy Create free account
hub / github.com/Manvityagi/PW-Skills-Java-Course-Codes / main

Method main

Lecture 42 Quick Sort/src/Main.java:39–47  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

37 }
38
39 public static void main(String[] args) {
40 int[] arr = {6, 6, 3, 1, 5, 5, 4};
41 System.out.println("Array before sorting");
42 displayArr(arr);
43 System.out.println();
44 quickSort(arr, 0, arr.length-1);
45 System.out.println("Array after sorting"); // 1 3 4 5 6
46 displayArr(arr);
47 }
48}

Callers

nothing calls this directly

Calls 2

displayArrMethod · 0.95
quickSortMethod · 0.95

Tested by

no test coverage detected