Siemens interview question

Garbage cleaners' purpose in Java programming