Which Among The Following Represents Correct Constructor #168
Which among the following represents correct constructor?
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 represents correct constructor?
()classname
~classname()
–classname()
classname()