CS 1054: Lab 12

Lab meeting 12: Inheritance

The objective of this lab is to help you better understand the concepts of inheritance that were introduced last week.

Tasks

  1. To begin this lab, open BlueJ and then start a new project. Name it "lab12". 
  2. Do the tasks in Exercises 8.8 and 8.9.
  3. Download the lab12.zip file to your hard drive. When you unzip it, you should see two projects: lab-classes and dome-v2.
  4. Do the tasks in Exericse 8.12 based on the lab-classes project.
  5. Do the tasks in Exercises 9.2, 9.3, 9.4 and 9.5 based on the dome-v2 project.
  6. Show your work to the GTA.

© Mir Farooq Ali 2003.