August 4, 2020




Unreferenced diagram depicting Frog object, struck out with words - GARBAGE COLLECTED.

A variable can only reference one object at a time. This object is no longer assigned to the variable frog1, therefore it is removed from the system.

Previous page « Assignment exercise
































































Up to top of page