More Practice With Classes

Here are some challenges for you.

Write classes to represent the following objects. Think about what data (variables) they should have, as well as the methods.

Note: Some of these will require multiple classes!

  1. A car
  2. A house
  3. A player character in a game.
  4. A tree
  5. A game of basketball

Previous submodule: