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

Method printArray

Lecture 15 Arrays/src/Main.java:5–10  ·  view source on GitHub ↗
(int[] arr)

Source from the content-addressed store, hash-verified

3
4public class Main {
5 static void printArray(int[] arr){
6 for(int i = 0; i < arr.length; i++){
7 System.out.print(arr[i] + " ");
8 }
9 System.out.println();
10 }
11
12 public static void main(String[] args) {
13 Scanner sc = new Scanner(System.in);

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected