Which Among The Following Is Correct For The Destructors Concept #192
Which among the following is correct for the destructors concept?
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.2.
Which among the following is correct for the destructors concept?
Destructors can be overloaded
Destructors can have only one parameter at maximum
Destructors are always called after object goes out of scope
There can be only one destructor in a class