Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

filll 2d array in java

double[][] arr = new double[20][4];
Arrays.stream(arr).forEach(a -> Arrays.fill(a, 0));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #filll #array #java
ADD COMMENT
Topic
Name
1+5 =