Which Among The Following Is Correct Syntax For The Destructors #169
Which among the following is correct syntax for the destructors?
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 is correct syntax for the destructors?
classname()
()classname
~classname()
-classname()