Next:
Objects: Variables
Up:
Java Notes
Previous:
Objects
Object: Creation
Instantiation: instance variable
Initialisation: constructor (default)
Memory allocation:
new
Example:
Rectangle rect = new Rectangle(); (Type: Class/Interface, name: reference)
Ananda Amatya
9/15/1999