Assume that the following method was called from the main method. What values would be returned as an array? Note that t
Posted: Sat May 14, 2022 4:36 pm
Assume that the following method was called from the main method. What values would be returned as an array? Note that the return type of the method is an int array, Please list the values that would be in the returned array private static int[] arrayGen() { int n - 8; int[] arr - new int[n]; for (int i = 0; i <n; i++) { arr[1] - (ii)/5; 1 return arr;