Which of the following statements are correct?
(a) There is one garbage collector per program running in memory
(b) There is one common garbage collector for all programs
(c) To garbage collect an object set all references to it as null
(d) Both There is one common garbage collector for all programs & To garbage collect an object set all references to it as null
I got this question in an interview.
This intriguing question originated from Destructors in Class topic in division Classes of C#