Which of the following is not true of a destructor?

a. It performs termination housekeeping.
b. It is called before the system reclaims the object’s memory.
c. If the programmer does not explicitly provide a destructor, the compiler creates an “empty” destructor.
d. It releases the object’s memory.

d. It releases the object’s memory.

Computer Science & Information Technology

You might also like to view...

IPC stands for ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

The identifiers Vanilla, Strawberry, and Chocolate, which appear inside the braces, are known as ____________.

Look at the following code sample: ``` enum Flavor { Vanilla, Strawberry, Chocolate } ``` a. constants b. references c. mnemonics d. enumerators

Computer Science & Information Technology