Q14
Q14
A. Value types are destroyed and their memory reclaimed when the program exits.
B. Value types are destroyed and their memory reclaimed when they go out of scope.
C. Value types are not destroyed and their memory is not reclaimed unless they are
set to null.
D. None of the above
Q03. The process of destroying an object and returning memory back to the heap is
known as ________.
A. Memory management
B. Resource collection
C. Garbage collection
D. Destruction
Q10. The process of destroying an object and returning memory back to the heap is
known as ________.
A. Memory management
B. Resource collection
C. Garbage collection
D. Destruction
Q12. How can you release the resource yourself as quickly as possible?
A. By defining destructors.
B. By creating a disposal method.
C. By overriding the finalize method.
D. None of the above.
Q13. The _______ statement provides a clean mechanism for controlling the lifetimes
of resources.
A. do
B. using
C. switch
D. checked