Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java how to fill an array

int array[] = {6, 7, 8, 9, 10};
Arrays.fill(array, 5);
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #java #fill #array
ADD COMMENT
Topic
Name
8+9 =