Practice Challenges with BlueJ
Table of contents
Figures Challenge
Choose any one of the following images or make your own:
House Challenges
- Add a sunset to the single-sun version of
Picture. That is, make the sun go down slowly. Remember: The circle has a methodslowMoveVerticalthat you can use to do this. - If you added your sunset to the end of the
drawmethod (so that the sun goes down automatically when the picture is drawn), change this now. We now want the sunset in a separate method, so that we can calldrawand see the picture with the sun up, and then callsunset(a separate method!) to make the sun go down. - Make a person walk up to the house after the sunset.
Next Topic:
Go to Simple String Methods to learn more with examples.

