ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  VB.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is the relation between Garbage collector and finalize 
and destructor?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the relation between Garbage collector and finalize and destructor?
Answer
# 1
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 ?    0 Yes 0 No
Aparna
 
  Re: What is the relation between Garbage collector and finalize and destructor?
Answer
# 2
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 ?    0 Yes 0 No
Kanak
 
 
 

 
 
 
Other VB.NET Interview Questions
 
  Question Asked @ Answers
 
hello dear friends my problem is that i want to save images that is pictures in SQL server using vb.net can any body help me to do so please  1
linex will support dot net? Phoenix-Technologies4
diff b/w windows and console application?  2
I want to reduce my CPU Usage when I am querying the Database for records. Now my Winform App(in VB.Net) suddenly Jumps to 100% CPU Usage when i query for records from sql server database. I want this Usage to be less. Any help is appreciated  2
What is the DIfference between Friend and Protected Friend? CTS5
How do you validate Date by using which validation Control? HCL3
1234 123 12 1 how to design above pic in vb.net? ABC2
how to connect crystal report with vb.net ? Patni6
What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....  5
what is the base class of .net?  6
concept of object oriented programming Patni5
how to restore database using vb.net? TCS4
how to create crystal reports in asp.net & vb.net with syntax  1
What is the Difference between Web User Control and Web Custom Control?  5
What is the Difference between CLR & CTS?  2
Why Datareader is useful?  5
ColumnMapping belongs to which namespaces?  1
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 Biz-Technology1
what are Fixed memory leaks and threads locking problems.  1
sql satement for 2nd maximum value NIIT10
 
For more VB.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com