Title: Key Concept - Object Creation and Reference
Course: CPS 189: Java Certification - Review, Practice & Prepare (Development) > Section: (OLDstyle) Learning Modules

Object Creation and Reference

Object Creation

- Is known as instantiation
- has three parts per syntax <declaration> = new <initialization>; where:
  - Declaration is the object type and name.
  - Instantiation is the new keyword.
  - Initialization is a call to the object’s constructor method.

- The name in the object creation statement is used to reference the object.
- Any public field or method is accessed outside the object using its name and the dot operator.

For more information about oject creation and reference:

- Click this link to view Oracle's documentation: Creating Objects and Using Objects
- Level 1 Study Materials: Unit 1