MCPcopy Create free account
hub / github.com/apna-college/Alpha / printArray

Method printArray

1_Arrays/ReverseArray.java:20–25  ·  view source on GitHub ↗
(int arr[])

Source from the content-addressed store, hash-verified

18 }
19
20 public static void printArray(int arr[]) {
21 for(int i=0; i<arr.length; i++) {
22 System.out.print(arr[i]+" ");
23 }
24 System.out.println();
25 }
26
27 public static void main(String args[]) {
28 int arr[] = {1, 2, 3, 4, 5, 6};

Callers 1

mainMethod · 0.95

Calls 1

printMethod · 0.45

Tested by

no test coverage detected