next up previous contents
Next: Example Structure of Class Up: Lecture 2: Classes, Objects, Previous: Commentary: Operations

Commentary: Type

Type-exp of attributes, operations and parameters may be primitive or class name. Primitive type operations are already implemented, cannot change these implementations. Class type operations must be implemented by methods before use. Primitive type attributes hold values while class type attributes hold references.



Ananda Amatya
11/3/1999