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...

What is NOT a button on the Home tab?

A) Paste B) Bold C) Zoom D) Copy

Computer Science & Information Technology

A C compiler detects ______.

a. syntax errors b. run-time errors c. result errors d. arithmetic faults e. all of the above

Computer Science & Information Technology