Fundamentals of Computer Science II (CSC-152 2000S)


Class 09: Reuse Through Inheritance and Polymorphism

Back to Object-Oriented Design. On to Lab: Conditionals.

Held Monday, February 7, 2000

Overview

Today, we consider two important issues in object-oriented design: inheritance and polymorphism. Both support reuse of code, but in different ways.

Notes

Contents

Summary


What is Object-Oriented Programming? Revisited

Detour: Some Game Piece Classes

Inheritance

Generalizing and Extending

Polymorphism

Interfaces


History

Tuesday, 18 January 2000

Monday, 7 February 2000

Back to Object-Oriented Design. On to Lab: Conditionals.


Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.

This page may be found at http://www.math.grin.edu/~rebelsky/Courses/CS152/2000S/Outlines/outline.09.html

Source text last modified Mon Feb 7 09:48:07 2000.

This page generated on Sat Feb 19 16:08:11 2000 by Siteweaver. Validate this page's HTML.

Contact our webmaster at rebelsky@grinnell.edu