What is the relation between Garbage collector and finalize
and destructor?
Answers were Sorted based on User's Feedback
Answer / 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 |
here the GC calls an object's FINALIZE metod immediately
befoer it collects an object that is no longer reffered by
the application
GC doesnt actually run finalize metod when the GC finds a
FINALIZE method it queues the obj up for the finalizer to
execute the objects metod
Is This Answer Correct ? | 4 Yes | 3 No |
Explain the advantages of vb.net?
Explain about the performance of visual basic?
What is the differences between dataset.clone and dataset.copy?
What is late binding?
How many languages are supported by .net?
sir how i can calculate the value of two-textbox of gridview and show result in textbox within gridview in asp.net with vb.net..plz sir reply me
Can you please explain the difference between thread and process?
What are the features present in vb 2005?
What is shadowing?
Where is the Version Information Stored on a assembly ? Write the Namespace to load assemblies at runtime Can you allow a class to be inherited but prevent the method from being overridden ? What happens in memory when you box and unbox a value type ? Write a progtam to convert decimal to byte without using library function.
Can you please explain the difference between vb and vb.net?
List the two main parts of .net?