how to use Arrays.fill on 3d matrix code example
Example: arrays.fill java
import java.util.Arrays;
int[] myArray = new int[10];
Arrays.fill(myArray,1);//This will fill the array with 1s
import java.util.Arrays;
int[] myArray = new int[10];
Arrays.fill(myArray,1);//This will fill the array with 1s