InterviewSolution
Saved Bookmarks
| 1. |
Which among the following represents correct constructor?(a) ()classname(b) ~classname()(c) –classname()(d) classname()I have been asked this question during a job interview.I'm obligated to ask this question of Execution of Constructor or Destructor topic in chapter Constructors and Destructors of Object Oriented Programming |
|
Answer» Right OPTION is (d) CLASSNAME() |
|