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

1. When a class declares an entire class as its friend, the friendship status is reciprocal. That is, each class's member functions have free access to the other's private members.
2. When you overload an operator, you can change the operator's original meaning to something entirely different.
3. By default, when an object is assigned to another object, each member of one object is copied to its counterpart in the other object.
4. The overloaded = operator copies data from one object to another so it is known as the overload copy operator.
5. If you overload the prefix ++ operator, the postfix ++ operator is automatically overloaded.


1. F
2. T
3. T
4. F
5. F

Computer Science & Information Technology

You might also like to view...

When the user selects a new date in a MonthCalendar control, the ________ event is raised.

a) DayChanged b) DateChanged c) NewDate d) MonthChanged e) None of the above.

Computer Science & Information Technology

USB stands for _____.

A. Universal System Bus B. Used Serial Bus C. Universal Serial Bus D. Universal Standard Bus

Computer Science & Information Technology

Present a diagrammatic representation of the typical architecture and main components of a data warehouse.

What will be an ideal response?

Computer Science & Information Technology

If the same field, Sales, is added together in every record to find the total sales of a company, then it would naturally follow that:

A) the primary key is made up of multiple fields. B) the primary key is made up of a single field. C) the primary key is made up of a single record. D) the primary key is made up of multiple records.

Computer Science & Information Technology