Tessella interview question

How does the java garbage collector work? Mass-Spring-Damper question