Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C++ Programming
»
Objects and Classes
Which of the following statements is correct about the constructors and destructors?
Destructors can take arguments but constructors cannot.
Constructors can take arguments but destructors cannot.
Destructors can be overloaded but constructors cannot be overloaded.
Constructors and destructors can both return a value.
Show Answer
Correct Answer:
Constructors can take arguments but destructors cannot.
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment