X1027: Blanking Half an Image

Implement the following method that takes a Picture object called pic so that it turns the bottom half of the image white. Do this using nested for loops, using getPixel() to access individual pixels by coordinate location. Remember that white is (255, 255, 255).

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.