0
/ 50
Write a method that takes as argument an integer size
and returns an integer array of that size. The method should allocate a new array...
Write a method that takes as argument an integer size
and returns an integer array of that size. The method
should allocate a new array of int
and return it. You
do not need to initialize the array.
Examples:
makeArray(5) -> {0, 0, 0, 0, 0}
Your feedback will appear here when you check your answer.