| |
Due 5PM Friday, October 15.
Chapter 12:
- Exercise 12.2 in SOE. (See p. 333 for a definition of the Enum class
-- and note the default methods!!)
Chapter 13:
- Exercise 13.1 in SOE. Also: Can you think of any useful
laws that instances of class Combine should obey?
- Exercise 13.2 in SOE. Note:
Your solution should be modular. In particular, it should be easy
to add more planets and/or planet-moon systems. To do this right, you
will probably want to translate (and possibly scale)
Pictures and, more importantly, values of type
Behavior Picture. Your grade will be based partially on how well
your code is structured.
- Extra credit: Exercise 13.3 in SOE.
Solutions.
|