0
/ 50
The following method takes in an int
called size
and an int
called value
. Create an array of integers of size size
, and set every slot in...
The following method takes in an int
called size
and an int
called value
. Create an array of integers of size size
, and
set every slot in the array to value
.
For example, if we called makeIntArray(5, 1)
this method would return [1, 1, 1, 1, 1]
.
Your feedback will appear here when you check your answer.