Thread:Mathmagician/@comment-3508190-20120504092551/@comment-3508190-20120504231248

You can think of c as a private variable of the counter object if you like, but it's less conceptual than that. Variables persist as long as there's a reference to them:

And this:

returns an object with two methods. Simple as that. ;)