What is the output on console public static void main(String[] args) { int[]a= new int[3] test (a);
System.out.print (a[0]); } public static void test(int[] a) { a[0]+=1 }.
What is the output on console public static void mainString.pdf
1. What is the output on console public static void main(String[] args) { int[]a= new int[3] test (a);
System.out.print (a[0]); } public static void test(int[] a) { a[0]+=1 }