Cerner Interview Question: "Can you explain what a garba... | Glassdoor

Interview Question

Software Engineer Interview(Student Candidate)

"Can you explain what a garbage collector is?"


Interview Answer

3 Answers


The interviewer prefaced the technical portion, saying that he knows I may not have answers to all the questions since I am still in school and learning. He just wanted me to reason through and try my best.

I honestly did not have very well thought out answers to the technical interview, but was invited to a second interview on their campus.

Interview Candidate on Oct 19, 2013

In computer science, garbage collection (GC) is a form of automatic memory management. The garbage collector, or just collector, attempts to reclaim garbage, or memory occupied by objects that are no longer in use by the program. Garbage collection was invented by John McCarthy around 1959 to solve problems in Lisp.

Neil on Oct 20, 2013

In Java, Garbage collector is a program which runs on JVM and removes the Objects which are not used. JVM by default calls gc or you can also explicitly invoke by System.gc(); or Runtime.gc(); commands.

Chiranjeevi Saride on May 1, 2016

Add Answers or Comments

To comment on this, Sign In or Sign Up.