Introduction to OOP: Chapter 3: Classes and Methods: [next] [previous] [audio] [real] [text]

Classes and Methods in Object Pascal

Module facilities in Object Pascal are based around the concept of a unit.

A unit is contained in a file, and is divided into interface and implementation portions.

Within each section the division is similar to the const - type - variable - procedure components familiar from Pascal.

Intro OOP, Chapter 3, Slide 15

The discussion of classes and methods in C++ begins on slide 20
The discussion of classes and methods in Java begins on slide 27