A Class Declaration

Here is a typical class definition as it might appear in Object Pascal. The class Card is declared as a new type. The keyword object indicates that this is an object declaration. There are three internal data values associated with each instance of the class, three procedures, and four functions.

[audio] [real] Text to accompany slide17, in Chapter 3 of An Introduction to Object-Oriented Programming