Register now or log in to join your professional community.
A. 1,2,3 B. 3,5 C. 1,4,5 D. 3,4
I think options 1,4 and 5 are correct which is option C. The garbage collector collects any unreferenced memory and memory consumed by managed resources. However it does not free memory on stack, close database connections or files.