java cara mengisi array

int array[] = {6, 7, 8, 9, 10};
Arrays.fill(array, 5);
Pari