Describe ways of cleaning up objects.

Answers were Sorted based on User's Feedback



Describe ways of cleaning up objects...

Answer / mercy

cleaning up objects is done by garbage collector.garbage
collector free up the memory when it is no longer need

Is This Answer Correct ?    1 Yes 0 No

Describe ways of cleaning up objects...

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

More Dot Net General Interview Questions

What is the difference between .net and laravel?

1 Answers  


Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

1 Answers  


Best Dot Net Center in Chennai ?

1 Answers  


What's singlecall activation mode used for in .net?

1 Answers  


What is a serviced component?

1 Answers  


Explain me what is the difference between an abstract class and an interface?

1 Answers  


What is WSDL? Explain its architecture?

1 Answers   Amdocs,


why do you want to join deloitte, where do you exactly fit in.

1 Answers   Deloitte,


What is view state?

6 Answers   TCS,


i m fresher,hav SQL knowledge but in my ofc. i hav to work on dotnet. so plz tell me how to learn it,? from where to stat? i hav C prog. knowledge, ASP.net

1 Answers  


what is the keyword used for self reference?

1 Answers  


What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?

1 Answers  


Categories