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

Method printArray

Lecture 15 Arrays/src/App.java:3–8  ·  view source on GitHub ↗
(int[] arr)

Source from the content-addressed store, hash-verified

1public class App {
2
3 static void printArray(int[] arr){
4 for(int i = 0; i < arr.length; i++){
5 System.out.print(arr[i] + " ");
6 }
7 System.out.println();
8 }
9 static void changeArray(int[] arr){
10 for(int i = 0; i < arr.length; i++){
11 arr[i] = 0;

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected