X949: For-Each Loops 3

For this question you will be using Pixel objects and one Picture object, as described in Reading Activity 06. In the method below write a for-each loop to iterate over all the Pixel objects and set the red value in each pixel to 0.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.