Lecture overview -- Keyboard shortcut: 'u'  Previous page: Classes -- Keyboard shortcut: 'p'  Next page: Visible and Hidden aspects -- 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 7 : 29

Visibility - the Iceberg Analogy
A class can be seen as an iceberg: Only a minor part of it should be visible from the outside. The majority of the class details should be hidden.

Clients of a class C cannot directly depend on hidden parts of C.

Thus, the invisible parts in C can more easily be changed than the parts which constitute the interface of the class.