Vidyalelo
C# Programming · Q145

Classes and Objects in C Sharp

Programming · C# Programming · question 145

Q145

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
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board