MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / main

Method main

Programs/CountingSort.java:6–14  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

4public class CountingSortMain {
5
6 public static void main(String[] args) {
7 System.out.println("Before Sorting : ");
8 int arr[]={1,4,7,3,4,5,6,3,4,8,6,4,4};
9 System.out.println(Arrays.toString(arr));
10 arr=countingSort(arr);
11 System.out.println("=======================");
12 System.out.println("After Sorting : ");
13 System.out.println(Arrays.toString(arr));
14 }
15
16 static int[] countingSort(int arr[])
17 {

Callers

nothing calls this directly

Calls 2

countingSortMethod · 0.95
toStringMethod · 0.80

Tested by

no test coverage detected