What is difference between constructor and destructor?

Constructor helps to initialize the object of a class. Whereas destructor is used to destroy the instances .29 Ara 2021

Sizin İçin Seçtik  What is the role of constructor in classes in C?

Leave a Reply

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