Question: Which of the following statement is incorrect?

Options

A : Constructor is a member function of the class.

B : The compiler always provides a zero argument constructor.

C : It is necessary that a constructor in a class should always be public.

D : Both B and C.

Click to view Correct Answer

Exam Quiz App on Google Play

Previous || Next

Constructors and Destructors - General Questions more questions

Can a class have virtual destructor?

Destructor has the same name as the constructor and it....

For automatic objects, constructors and destructors are called each time....

Which constructor function is designed to copy objects of the....

Which of the following statement is correct?

When are the Global objects destroyed?

Copy constructor must receive its arguments by __________ .

A function with the same name as the class, but....

A union that has no constructor can be initialized with....

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

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