I know this is simple, but I don't really understand the homework-question:
Assume the signature of the method xMethod is as follows. Explain two different ways to invoke xMethod:
public static void xMethod(double[] a)
I thought to invoke a method you just do:
xMethod(myarray);
What could it mean by asking two different ways?