Which of the following is NOT a true statement relating to constructors?

A. To add full functionality to your classes, write multiple constructors
B. If you write one constructor, you lose the default one that is created automatically.
C. The default constructor must be the first one written for the class.
D. Constructors are used to provide values to the object's data members.


Answer: C

Computer Science & Information Technology

You might also like to view...

Traditional IBM mainframes recognize __________ different interrupt types.

a. 6 b. 8 c. 256 d. 4096

Computer Science & Information Technology

To include an Excel worksheet object or data in a Word document, you ________

A) first convert any numeric data into text prior to copying it to Word. B) must use the import wizard. C) can use the copy and paste features of Office. D) will lose the object or data in Excel when you copy it to Word.

Computer Science & Information Technology

To rename a category, click the ____ button in the Navigation Options dialog box.

A. Rename Category B. Rename Item C. Change Item D. Change Category

Computer Science & Information Technology

To ensure that values in a field are required, click the ____ check box.

A. Indexed B. Primary C. Required D. Unique

Computer Science & Information Technology