212
Encapsulation
- Encapsulation
– grouping of subprograms and the data they manipulate
- Information hiding
– abstract data types
- type definition is hidden from the user
- variables of the type can be declared
- variables of the type can be used via the
- perations defined for the type
- Mechanisms