Site hosted by Angelfire.com: Build your free website today!
 

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.