Collin Ernst Midterm Portfolio

In Java it isn't based on scope, it is based on accessibility. Objects are deleted when there is no longer any chain of references that lead to the object. This process is called garbage collection.