If you don't save references to objects, the garbage collector will come for them at night to terminate them. As scary as this may sound, programmers are ready to pray to the Java garbage collector. Especially people who started their programming careers using other languages, such as C++.