C++ Constructors and Destructors

Casual Mode - Take your time!

1 / 15
Correct
0
Incorrect
0
Score
0%
Multiple Choice

Which of the following is not a characteristic of destructor function used in C++?

  1. Destructor must have the same name as the class preceded by a tilde (~).
  2. Destructor has a return type.
  3. Destructor cannot take arguments; so it cannot be overloaded.
  4. There can be only one destructor in each class.
  5. Destructor cannot be inherited.
Change Mode