Which Among The Following Describes A Destructor #181
Which among the following describes a destructor?
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 Constructors and Destructors - OOPs MCQ: Destructors - Quiz No.1.
Which among the following describes a destructor?
A special function that is called to free the resources, acquired by the object
A special function that is called to delete the class
A special function that is called anytime to delete an object
A special function that is called to delete all the objects of a class