Lecture overview -- Keyboard shortcut: 'u'  Previous page: Classes [Section] -- Keyboard shortcut: 'p'  Next page: Visibility - the Iceberg Analogy -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Classes and Objects - slide 6 : 29

Classes

A class encapsulates data and operations that belong together, and it controls the visibility of both data and operations. A class can be used as a type in the programming language

The visible parts of a class constitute the interface of the class, as seen by client classes
Go to exercise
Time Classes