Question: A class's __________ is called when an object is destroyed.

Options

A : constructor

B : destructor

C : assignment function

D : copy constructor

Click to view Correct Answer

Previous || Next

Constructors and Destructors - General Questions more questions

Which of the following statement is correct?

Which of the following implicitly creates a default constructor when....

A destructor takes __________ arguments.

Destructor calls are made in which order of the corresponding....

Which of the following never requires any arguments?

Destructors __________ for automatic objects if the program terminates with....

Which of the following statement is correct?

Which of the following statements are correct?

How many times a constructor is called in the life-time....

Which of the following gets called when an object is....

Constructors and Destructors - General Questions more Online Exam Quiz

Operating Systems Concepts - Part 1

System Analysis and Design - Part 1

Unix - Part 1

Windows 2000 Server - Part 1

Windows NT - Part 1

Functions - General Questions

Objects and Classes - General Questions

OOPS Concepts - General Questions

References - General Questions

Arrays - General Questions