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 AJAX code cross browser compatible?

1 Answers  


What javascript libraries and frameworks are available for ajax support?

0 Answers  


What is the name of the DLL that contains Ajax control tool kit?

1 Answers  


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

0 Answers  


What is json? : asp.net ajax

0 Answers  






What are the difference between server-side ajax framework and client-side ajax framework?

0 Answers  


What are all the security issues of Ajax?

1 Answers  


How to use ajax in updateprogress control?

0 Answers  


What are all the technologies used by Ajax?

1 Answers  


What's new in .Net 3.5

2 Answers   Hoch Technologies,


What is ajax used for?

0 Answers  


Can ajax technology work on web servers other than iis?

0 Answers  


Categories