Ads Header

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.

0 comments:

ssss

sssssadf asdf asdfsad fasdf asdfasdf