Affiliate Programs
 
Search affiliate programs for: 
Affiliate Categories
» Affiliate Networks
» Ad Networks
» 2 Tier Programs
» Pay Per Sale
» Pay Per Lead
» Residual Income
» Datafeeds
» Multi Tier Programs
» Business Opps
» Other Programs

Newsletter
Get newly added affiliate programs by email. Enter your email here:
Article Categories
» Affiliate Marketing
» Business
» Ecommerce
» Hosting
» Marketing
» Sales
» Web Designing
» Webmasters
» SEO & Promotion
» Working At Home
» Other Articles
» Affiliate Glossary


Go Back   AffiliateSeeking Forum > Website Creation, Design & Maintenance > Programming > ASP

ASP Discuss about ASP scripting problems or help others with their ASP scripting issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-21-2010, 11:06 AM
ursimrankhanna ursimrankhanna is offline
Senior Member
 
Join Date: Jul 2010
Location: delhi ( india )
Posts: 508
ursimrankhanna is on a distinguished road
Default what is Destructer?

plz reply the my question............
Thank you....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-10-2010, 08:01 AM
jurwanwall jurwanwall is offline
Member
 
Join Date: Nov 2010
Posts: 85
jurwanwall is on a distinguished road
public class Thing {

public static int number_of_things = 0;
public String what;

public Thing (String what) {
this.what = what;
number_of_things++;
}

protected void finalize () {
number_of_things--;
}

}
__________________
Designer Sunglass Reviews
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-23-2010, 06:43 AM
Jagbani Jagbani is offline
Senior Member
 
Join Date: Jul 2010
Location: punjab
Posts: 109
Jagbani is on a distinguished road
Hi,
thank you that you solved the My Problem.

Your Regards,
jagbani..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-10-2010, 11:09 AM
deveshraigniit deveshraigniit is offline
Member
 
Join Date: Nov 2010
Location: Delhi
Posts: 97
deveshraigniit is on a distinguished road
Hi,
In simple terms a destructor is a member that implements the actions required to destruct an instance of a class. The destructors enable the runtime system, to recover the heap space, to terminate file I/O that is associated with the removed class instance, or to perform both operations. For better understanding purpose I will compare C++ destructors with C# destructors.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-26-2011, 11:55 AM
Jagbani Jagbani is offline
Senior Member
 
Join Date: Jul 2010
Location: punjab
Posts: 109
Jagbani is on a distinguished road
Destructors in REALbasic can be in one of two forms. Each form uses a regular method declaration with a special name (with no parameters and no return value). The older form uses the same name as the Class itself with a ~ (tilde) prefix. The newer form uses the name "Destructor." The newer form is the preferred one because it makes refactoring the class easier.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-12-2011, 07:16 AM
tenantfile tenantfile is offline
Junior Member
 
Join Date: Apr 2011
Posts: 7
tenantfile is on a distinguished road
it is used to destroy the memory space which is occupy dynamically.it is also have the same name as class followed by a difference sign.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-01-2011, 07:02 AM
amkeabhi123 amkeabhi123 is offline
Senior Member
 
Join Date: Jul 2011
Posts: 111
amkeabhi123 is on a distinguished road
Send a message via Skype™ to amkeabhi123
when we use the destructor when log time constructor not use .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-05-2011, 11:06 AM
Loan2day Loan2day is offline
Member
 
Join Date: Jun 2011
Posts: 80
Loan2day is on a distinguished road
In simple words it a simple method called when an object is destroyed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-13-2011, 01:57 PM
tylerlongtw tylerlongtw is offline
Senior Member
 
Join Date: May 2011
Posts: 392
tylerlongtw is on a distinguished road
it is called whever the object is destroyed, which simply means to free all those resources which that object was having, so as to free the allocated memory for that object.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 10-10-2011, 06:28 AM
vikramrandhawa vikramrandhawa is offline
Senior Member
 
Join Date: Sep 2011
Posts: 166
vikramrandhawa is on a distinguished road
Destructors are usually used to deallocate memory and do other cleanup for a class object and its class members when the object is destroyed. A destructor is called for a class object when that object passes out of scope or is explicitly deleted.A destructor takes no arguments and has no return type. Its address cannot be taken. Destructors cannot be declared const, volatile, const volatile or static. A destructor can be declared virtual or pure virtual.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 10-14-2011, 11:47 AM
vishal.agrwal vishal.agrwal is offline
Member
 
Join Date: Sep 2011
Posts: 37
vishal.agrwal is on a distinguished road
destructer is nothing but it destroys the structure....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-22-2012, 08:07 AM
sandeep552 sandeep552 is offline
Senior Member
 
Join Date: Feb 2012
Posts: 221
sandeep552 is on a distinguished road
When we create constructor of a class a destructer is involuntarily created for destroy objects.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:24 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0
© 2004-2011 AffiliateSeeking. All rights reserved.