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
Explain option explicit?
What do you mean by serialization and deserialization?
Name and explain some of the exclusive features which are present in vb?
Explain the difference between vb.net and c#, related to oops concepts?
Explain the difference between thread and process?
What is vb.net used for?
Name the class which allows an element to be accessed using unique key?
Name some of the features of C# which are not present in VB.NET?
What is intermediate langauge?
Can you please explain the difference between thread and process?
Explain namespace?
what is diffrence constructor and destructor in vb
How do you retrieve the customized properties of a .net application from xml .config file?
Tell me which namespace are used for accessing the data?
Can you please explain the difference between value and reference types?