Programming Languages (CS302 2006S)

Class 16: Basics of Object-Oriented Programming

Back to Scheme Semantics (3). On to Java as Object-Oriented Language.

Held: Monday, February 27, 2006

Summary: Today we begin our exploration of object-oriented programming.

Related Pages:

Assignments

Notes:

Overview:

What is object-oriented programming?

Three key issues: Encapsulation, Inheritance, Polymorphism

Why OOP?

A Biased History

Sam's grounding quote (emphasis mine) from Nygaard and Dahl

The principle extensions which convert ___ to ___ provide the ability to:
1. Declare a class
2. Generate objects of the declared class
3. Name the generated objects
4. Form a hierarchical structure of class declarations

Polymorphism vs. Overloading.

Back to Scheme Semantics (3). On to Java as Object-Oriented Language.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Wed May 10 09:02:52 2006.
The source to the document was last modified on Thu Jan 12 09:00:37 2006.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS302/2006S/Outlines/outline.16.html.

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Samuel A. Rebelsky, rebelsky@grinnell.edu