The Java Platform Java Runtime Environment Data Types Control Statemets Methods Arrays Classes and Objects![]() Objectives![]() Classes and Objects?![]() Instance and Class Members![]() Class Constructor![]() Example![]() Class members![]() Abstraction![]() Object Reference Inheritance Constructor Interface Packages & Access Modifiers Java Collections Framework | Object Reference![]() cookie is a variable that holds a reference to a Dog object. aDog = cookie : assigns the reference to aDog cookie = null; aDog = null; remove all references to the object, making it eligible for garbage collection. |