X1047: Set Array At Index

The following method takes in an int called size and a double called value For this question, create an array of doubles of length size. Then set the first item in the array to value. Finally, return that array.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.