ssdf
sssssadf asdf asdfsad fasd dfasdf
Describe garbage collection (in simple terms).
Garbage collection eliminates uneeded objects.1. the new statement allocates memory for an object on the heap.2. When no objects reference the object it may be removed from the heap (this is a non deterministic process).3. Finalize is called just before the memory is released.
Labels:
FAQ,
Interview Questions
Subscribe to:
Post Comments (Atom)
ssss
sssssadf asdf asdfsad fasdf
asdfasdf


0 comments:
Post a Comment