C++
Programming and Technical
Programming
Definition
What is destructors?
Read Solution (Total 3)
-
- A constructor is a bit of code that allows you to create objects from a class. You call the constructor by using the keyword new, followed by the name of the class, followed by any necessary parameters. For example, if you have a Dog class, you can create new objects of this type by saying new Dog().
- 11 years agoHelpfull: Yes(0) No(0)
- Destructor is a member function of a class which is having same name as of that class but starting with ~(tilde) is operator.
It is used to deallocate memory which is allocated by the object. - 2 years agoHelpfull: Yes(0) No(0)
- a furnace or incinerator for the disposal of refuse, esp one that uses the resulting heat to generate power. 2. a device used to blow up a dangerously defective missile or rocket after launching.
- 8 Months agoHelpfull: Yes(0) No(0)
C++ Other Question