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 how to store decimal data in .net?
What is sorting in vb?
Can you please explain the difference between vb and vb.net?
Explain about branching logic control in vb.net?
code for itemstockgroupwise record?
Explain about the feature anonymous type?
How does you call and execute a SP in .NET?
What is VB.Net?
i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate
What are the advantages of an assembly?
What is difference between import system.data.sqlclient,system.data.oledb?
Allowed program to auto-correct the database when loading a presentation.
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)