22 Feb 2012 [ 201 week7 ]

Inheritance is a method that creates a new class that builds on an existing one. It models real-life inheritance, with an ancestor-descendant tree of classes.

Key concepts

Examples

See the inheritance-examples project in the course materials.

Readings

Read the "Inheritance" chapter in the book.

Homework

Starting reviewing for the exam. Do as many problems from the book as you can. Example exam questions will be posted soon, but you can take a look at these exams from 130 for examples of the question format.

Don't forget that you can bring one sheet of paper filled front and back with notes. You won't be responsible for knowing particular class names and methods, but you should be comfortable using all basic syntax, statements, and primitive types we've covered.