Lecture overview -- Keyboard shortcut: 'u'  Previous page: Program modification - the Fire Analogy -- Keyboard shortcut: 'p'  Next page: Classes in C# -- 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 10 : 29

Representation Independence
Representation independence: Clients of the class C should not be affected by changes of C's data representation
A Point class with public instance variables - NOT Recommended .
A Client of Point.
A version of class Point modified to use polar coordinates - NOT Recommended.
Go to exercise
Public data representation
Encapsulated data should always be hidden and private within the class