Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the relation between Garbage collector and finalize
and destructor?

Answers were Sorted based on User's Feedback



What is the relation between Garbage collector and finalize and destructor?..

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

What is the relation between Garbage collector and finalize and destructor?..

Answer / aparna

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

Post New Answer

More VB.NET Interview Questions

What are nested classes?

0 Answers  


What does VS.NET contains ?

3 Answers   Infosys,


Disadvantages of vb ?

12 Answers   Digital GlobalSoft, TCS,


What are the difference between dispose(), close(), exit(), end()?

0 Answers  


What is public assembly?

0 Answers  


What is the Advantage of vb.net over vb

0 Answers   Digital GlobalSoft,


visual basic 6.0 hava print statement for printing on form.what is the alternative for this in vb.net?

5 Answers  


what are the difference between An input box and Message box ..?

6 Answers   CTS, TATA,


What is econo-jit?

0 Answers  


Explain the difference between value and reference types?

0 Answers  


What is the use of assembly?

0 Answers  


How to create a constant in vb.net?

0 Answers  


Categories