Question: Which of the following statements are correct?

Options

A : Constructor is always called explicitly.

B : Constructor is called either implicitly or explicitly, whereas destructor is always called implicitly.

C : Destructor is always called explicitly.

D : Constructor and destructor functions are not called at all as they are always inline.

Click to view Correct Answer

Previous || Next

Constructors and Destructors - General Questions more questions

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

Which of the following never requires any arguments?

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

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

Which of the following statement is correct?

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

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

To ensure that every object in the array receives a....

Which of the following statement is correct about constructors?

Which of the following statement is correct whenever an object....

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