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 |
how to create views in sql with syntax and example
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
How do you declare static variable and how it is declared and what is its lifetime?
Can we use Vb.Net and C# language simultaneously in one .Net application?
What is the role of new keyword?
linex will support dot net?
4 Answers Phoenix Technologies,
Sir, what code to store data from vb net sql server 2008 to 2005 and at the same time in order to validate the data entered is not the same, but there have been contacts in the module. Examples such as the log table that I created, the user name as the primary key.
I want to sample Hotel management project in vb.net because still now i am doing that project for small hotel....so please send me my email id is jmuthu_pearls@yahoo.com...
4 Answers Sapphire Comfort Hotel, TATA,
What is friend and protected-friend access specifier in vb.net?
Write a VB.Net console program to check whether a number is perfect or not.
Described strong typing
What is branching logic control in VB.NET?