1.

If a class have 4 constructors then it must have 4 destructors also.(a) True(b) FalseThe question was posed to me during an internship interview.My doubt is from Execution of Constructor or Destructor topic in section Constructors and Destructors of Object Oriented Programming

Answer»

Right OPTION is (b) False

Explanation: EVEN if the CLASS have 4 constructors, only one would be used. And only one DESTRUCTOR is allowed.



Discussion

No Comment Found

Related InterviewSolutions