Which Among The Following Best Describes Destructor #167
Which among the following best describes 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: Execution of Constructor or Destructor - Quiz No.1.
Which among the following best describes destructor?
A function which is called just before the objects are destroyed
A function which is called after each reference to the object
A function which is called after termination of the program
A function which is called before calling any member function