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

What is constructors and distructors.

Answer Posted / Abhinav Kukreti

In Object-Oriented Programming, a constructor is a special method that gets called automatically when an instance of a class is created. It initializes the object's state by setting its initial properties or variables. A destructor, on the other hand, is a special method that gets called automatically when an instance of a class is destroyed or no longer needed. It cleans up any resources (like files, database connections, etc.) that the object was using.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I make the mouse cursor invisible/visible?

1431


With in the form we want to check all the text box control are typed or not? How?

2064


How would you attach pictures in column headers of List View Control?

2159


Draw Sequence Modal of DAO and Explain?

2129


How would you activate animation control?

2449


How do I tell when an application executed using the SHELL command is finished?

1626


How do I force a file dialogue box to reread the currect disk?

1512


Specify technical & functional architecture of your last 2 projects.

2138