What is the relation between Garbage collector and finalize
and destructor?
Answer Posted / kanak
GC checks for those resources which are no longer used by
the process. To release the memory from these resources and
in order to regain the memory heap GC initiates destructors
to destroy such instances of the program. Before the
destructor void an instance variable finalize routine gets
executed. This routine performs whatever is to be done
before the object return to void state or prior to release
of any unused resources.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is strong name in .net assembly?
What are the technology areas that microsoft.net contains?
Explain the difference between vb 6 and vb.net?
Name a feature which is common to all .net languages?
What is the difference between compiler and interpreter?
List the types of authentication?
What is misl code?
Explain redim keyword?
What are different types of jit ?
What are the differences between c# and visual basic.net?
Described strong typing
Why do we use ansi keyword?
What is redim keyword and its use?
What are nested classes?
What are the differences between server-side and client-side code?