Next: Objects: Methods
Up: Java Notes
Previous: Object: Creation
- Class (interface) type variables store object references: shared by instances
- Primitive type variables store values: separate copy per instance
- Information hiding (encapsulation): access via methods
- Primitive type wrapper objects (
Integer
)
- Polymorphism uses object references
Ananda Amatya
9/15/1999