MCPcopy Create free account
hub / github.com/AdarshAddee/Hacktoberfest2022_for_Beginers / main

Method main

Java/InsertionSort.java:28–37  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

26 }
27
28 public static void main(String[] args) {
29 int a[] = { 92, 50, 5, 20, 11, 22 };
30 InsertionSort i1 = new InsertionSort();
31 System.out.println("\nBefore sorting array elements are - ");
32 i1.printArr(a);
33 i1.insert(a);
34 System.out.println("\n\nAfter sorting array elements are - ");
35 i1.printArr(a);
36 System.out.println();
37 }
38}

Callers

nothing calls this directly

Calls 2

printArrMethod · 0.95
insertMethod · 0.95

Tested by

no test coverage detected