Skip to content
December 11, 2011 / Ben Chun

In case I had forgotten that I teach high school…

A recent homework question: “Describe each of the three ways that you can remove a reference from an object and make it eligible for garbage collection.”

Student answer: “Abandoning the original reference for another (yea like dumping a girlfriend for another one, so the original is up for grabs (or gc)”


One Comment

Leave a Comment
  1. Alfred Thompson (@alfredtwo) / Dec 13 2011 7:25 am

    Trust a student to put something into a context that their peers can relate to.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: