Answer the following statement(s) true (T) or false (F)

1. In C++, an object may be declared with empty parentheses.
2. Like constructors, there can be more than one destructor function per class.
3. Constructors are considered to be mutator functions.
4. In C++, a common programming error consists of including a return type with the constructor’s prototype.
5. In C++, using the same name for a data member as for a member function does not produce an error.

1. False
2. False
3. False
4. True
5. False

Computer Science & Information Technology

You might also like to view...

Option buttons are round; several buttons in a set can remain selected.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which statement is not correct? The VSAM structure

A. is used for very large files that need both direct access and batch processing. B. may use an overflow area for records. C. provides an exact physical address for each record. D. is appropriate for files that require few insertions or deletions.

Computer Science & Information Technology