MCQs On Garbage Collector
MCQs On Garbage Collector
1. Which of the following method is used to explicitly call garbage collector in C#?
a) 1 b) 2 c) 3 d) 4
5. The garbage collector uses which of the following to determine whether objects are live?
6. You can use the ___ element of the runtime configuration schema to specify the type of
garbage collection you want the CLR to perform.
7. Background garbage collection is available only in the .NET Framework __ and later versions.
a) 1 b) 2 c) 3 d) 4
12. Which of the following method is used to explicitly call garbage collector in java?
13. In java How many times does the garbage collector calls the finalize() method for an object?