X596: repeatOdd

This method takes an ArrayList of integers as a parameter and does not return anything. The method will repeat each odd element in the given list. If there is no element in the given list, the list does not change. You must modify the given list.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.