Lecture overview -- Keyboard shortcut: 'u'  Previous page: Class Invariants [Section] -- Keyboard shortcut: 'p'  Next page: Everyday invariants -- 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    Contracts and Assertions - slide 19 : 32

General aspects of contracts
A class invariant expresses some constraints that must be true at every stable point in time during the life of an object

A class invariant expresses properties of an object which are stable in between operations initiated via the public client interface