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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is trace in vb.net?

1024


Explain internal keyword in .net framework?

980


What are the different types of a stream?

1021


Explain global assembly cache (gac)?

1164


Explain clr?

1050


What are the differences between vb.net and c#, related to oops concepts

976


What is code access security?

1204


What is the class that allows an element to be accessed using unique key?

1138


List the two main parts of .net?

1079


Explain managed code?

963


Why do we use ansi keyword?

993


What are the different variables in vb.net?

972


What are the advantages of migrating to vb.net?

996


What is the difference between manifest and metadata?

1068


Which namespace are used for accessing the data?

1264