Need some help with methods

Hello,

I have a question. My assignment is to create a method called 'fillArray' that accepts an integer array and a second integer. What this method should essentially do when invoked is, for example, if I have an array called ‘numbers’ and I invoke the method: fillArray(numbers, -3); this method would fill the array 'numbers' with the value -3 for every element of the array.

I'm having trouble understanding what the purpose of the first argument is. I understand how to fill an array using a method but I'm not sure how to go about this method. I have typed up something to work with, I hope:

I know my directions do not require me to print out anything but I want to know that it's actually working. So as I tried this code I would only be given as output the reference. (i.e. "[I@3487a5cc") There's no size to the array that was given so I just made it a small array just to see if it's doing what it's supposed to. Evidently, it's not. I know the for-loop should be filling this array just fine so that means there's something wrong with how I have created the array. I didn't know if I should place the size of the array inside the for-loop or outside the for-loop. I also don't understand the purpose of the parameter to name the array at all.