What statement regarding the use of destructors is accurate?
A. A destructor performs actions when a class is instantiated.
B. A destructor must be explicitly created.
C. To declare a destructor, you must use a dash - followed by the class name.
D. You cannot provide any arguments to a destructor.
Answer: D
Computer Science & Information Technology
You might also like to view...
To apply an image map to an image, the _________ attribute is added to the img element.?
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
Which OOP term refers to the fact that you can create one class from another class?
A. Inheritance B. Abstraction C. Polymorphism D. Instantiation
Computer Science & Information Technology