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

Method main

Programs/ShellSort.java:5–13  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

3
4public class ShellSortMain {
5 public static void main(String[] args) {
6 int[] array = { 22, 53, 33, 12, 75, 65, 887, 125, 37, 977 };
7 System.out.println("Before Sorting : ");
8 System.out.println(Arrays.toString(array));
9 System.out.println("===================");
10 System.out.println("After Sorting : ");
11 array = shellsort(array);
12 System.out.println(Arrays.toString(array));
13 }
14
15 private static int[] shellsort(int[] array) {
16

Callers

nothing calls this directly

Calls 2

shellsortMethod · 0.95
toStringMethod · 0.80

Tested by

no test coverage detected