Skip to main content
Monday is APCS after school work/makeup day!

APCS

Go Search
Linda Noss
APCS
Java
VGP
Web Page Design
Consumer Math
Desktop Publishing
See your grade
  

Monday is APCS after school work/makeup day!

Unit 8: Inheritance

UML Diagrams - shows the relationship between different classes. First introduced on pages 167 - 168 it is used throughout each chapter in the book. Chapter 9 revisits it on page 449.

Read chapter 9 and write a definition for each word or phrase below. Be sure to state it in your own words.

Vocabulary and concepts

  • inheritance
  • subclass
  • superclass
  • parent class
  • child class
  • extends
  • is-a relationship
  • protected
  • super
  • overriding
  • Shadowing variables
  • Class hierarchies
  • siblings
  • Object Class
  • Abstract
  • interfaces

Assignment programs

Exercise 9.3 on page 481 of the book

Do probelms from the Chapter 9 Lab exericises:

  • Exploring Inheritance(p2)
  • Test Questions (p8)
  • Overriding the equals Method(p10)
  • Extending the Adapter Classes(p12) programs are from 8.17 and 8.18 in the book not 7.18 and 7.19 as stated in the problem.

Data file testbank.dat

Example output file