www.itechowais.tech




Features of Destructor in OOP | C++ :

  1. Compiler itself called the Destructor when an object is destroyed.
  2. It has no return type even void.
  3. It cannot be inherited and virtual.
  4. It is de-locate the memory that was allocated by Constructor for the Object.