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...

Describe ways of cleaning up objects.

Answer Posted / sankari

The cleaning up objects is done by finally block in
exception

the finally block always runs whether try raises its
excetion or not

usually finally block is used to clean up resources created
by try block

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between an abstract class and an interface?

998


If any body working in Infosys, please can u give me the referense to that company because i hered that their is openings for freshers with referal..

1967


What is Event - Delegate? clear syntax for writing a event delegate

2032


Is Driver Script any how related to AOM?

1176


Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

2522


Explain the difference between the while and for loop. Provide a .net syntax for both loops?

991


Explain what is heap and what is stack?

1087


What is a design pattern and what is it for?

1080


What are three common acronyms used in .net, and what do they stand for?

1021


What is the use of UML in .Net

1088


Elements of CAS

2195


Explain about .NET services?

1076


Explain cas (code access security)?

1067


How can you instantiate a tuple?

1022


Please explain what garbage collection is and how it works. Provide a code example of how you can enforce garbage collection in .net?

1008