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
How do I make the mouse cursor invisible/visible?
With in the form we want to check all the text box control are typed or not? How?
How would you attach pictures in column headers of List View Control?
Draw Sequence Modal of DAO and Explain?
How would you activate animation control?
How do I tell when an application executed using the SHELL command is finished?
How do I force a file dialogue box to reread the currect disk?
Specify technical & functional architecture of your last 2 projects.