For example, the code would be similar to:

```
public static int test(int arr[], int x, int y){
       x = y;
       arr[y] = 1;
       return y;
}
public static void main(String[] args) {
       test();
}

```

what would i put in test() in the main method? for int x and int y i just put a number but for arr[] I'm not sure what i'm supposed to put in? I want the array to be like {1,2,3,4,5,6,7,8,9} but I tried test({1,2,3,4,5,6,7,8,9}, 1, 1) and it's not working.