Class 11: Subtyping and Inheritance

Class 11 slides: [PDF] [PPTX]

Reading assignment: Chapter 7

Challenge question: The following question was raised in class today:

Is there anyway to call a supertype method on a subtype object that overrides that method from outside the type definition?

A satisfactory answer (either a demonstration that it can be done, or a convincing argument why it is not possible) is worth at least 20 bonus points, as well as the respect and admiration of your peers and myself.

This entry was posted in Announcements, Classes. Bookmark the permalink.

Comments are closed.