Agilisys interview question

Constructor and destructor difference in oops