What's the diff b/w destructor and garbage collector?

Answers were Sorted based on User's Feedback



What's the diff b/w destructor and garbage collector?..

Answer / shreenivas

A destructor is a special member function of a class which
is called as soon as a object is deallocated & Garbage
collector is program or an application that actually
deallocates the memory of long time unreachable object

Is This Answer Correct ?    4 Yes 0 No

What's the diff b/w destructor and garbage collector?..

Answer / nadim ahmad

destructor destroy the object but garbage collector allocate
the memory for objects

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More AJAX Interview Questions

Is it possible to use fileupload control within the update panel?

0 Answers  


What are the components of the asp.net ajax architecture? : asp.net ajax

0 Answers  


How to handel error in ajax?

0 Answers  


What is the asp.net ajax framework? What versions have been released so far?

0 Answers  


Is json is a programming language?

0 Answers  






What is the difference between a destructor and a garbage collector?

0 Answers  


Tell name of all the control of ajax?

0 Answers  


What are the security issues with ajax?

0 Answers  


How we can send data to server using ajax?

0 Answers  


Does java have support for comet style server-side push?

0 Answers  


Would we be able to call server-side code from javascript?

0 Answers  


Would we be able to settle the updatepanel controls?

0 Answers  


Categories