What is destructor and characteristics?

Properties of Destructor: Destructor function is automatically invoked when the objects are destroyed . It cannot be declared static or const. The destructor does not have arguments. It has no return type not even void. An object of a class with a Destructor cannot become a member of the union.9 Eyl 2021

Sizin İçin Seçtik  Is Udemy app available in Microsoft store?

Leave a Reply

Your email address will not be published. Required fields are marked *