Please help me with this one guys! why are there arguments given to a method that is void??
public class C {
public static void main(String[] argv) {
int k = 1;
int[] x = {0, 1, 2, 3};
int[] y = x;
lurig(x, y, k);
System.out.println(x[0] + k + y[0]);
}
public static void lurig(int[] p, int[] q, int r) {
p[0] = 1;
q[0] = 2;
r = 3;
}
}