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

1) The only C++ operators that can be overloaded are << and >>.
2) A derived class inherits the base class's constructors so the programmer need not define new constructors.
3) A class's member functions represent the attributes of the object modeled.
4) If a GreenBlob is a kind of Blob, then Blob would be defined as a base class and GreenBlob as a derived class.
5) An accessor function provides read-only access to a private component of an object.


1) F
2) F
3) F
4) T
5) T

Computer Science & Information Technology

You might also like to view...

One advantage a linked list has over a vector is that

A) a linked list can dynamically shrink or grow, and a vector cannot. B) a linked list is smaller than a vector. C) insertion and removal of items is faster with lists than with vectors. D) All of the above E) None of the above

Computer Science & Information Technology

The ____ statement is used to assign a new array to the specified array variable.

A. ChangeSize B. ReDim C. ArraySize D. NumElem

Computer Science & Information Technology

The _____ function adds the values in a range that match criteria you specify.

A. ADDIF B. ADDAS C. SUMIF D. SUMAS

Computer Science & Information Technology

Users can select more than one option in a pop-up menu.

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

Computer Science & Information Technology