Question: Which of the following statement is correct about constructors?

Options

A : A constructor has a return type.

B : A constructor cannot contain a function call.

C : A constructor has no return type.

D : A constructor has a void return type.

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 statements are 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 whenever an object....

Which of the following function prototype is perfectly acceptable?

Which of the following statement is correct?

Which of the following statement is correct?

Which of the following statement is correct?

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