Exam 11: More About Classes and Object-Oriented Programming

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A good reason for overloading an operator is to enable it to

(Multiple Choice)
4.7/5
(33)

Object composition is useful for creating a ________ relationship between classes.

(Multiple Choice)
4.8/5
(39)

When you overload an operator, you cannot change the number of operands taken by the operator.

(True/False)
4.9/5
(34)

When you redefine the way a standard operator works when it is used with class objects, you have ________ the operator.

(Multiple Choice)
4.9/5
(37)

________ is commonly used to extend a class, or to give it additional capabilities.

(Multiple Choice)
4.9/5
(37)

When overloading the operator ++, ________ is used to distinguish preincrement from postincrement.

(Multiple Choice)
4.9/5
(32)

A function object is

(Multiple Choice)
4.9/5
(38)

A(n) ________ member variable may be accessed before any objects of the class have been declared.

(Multiple Choice)
4.7/5
(32)

A derived class may not have any classes derived from it.

(True/False)
4.9/5
(30)

When a class contains a pointer to dynamically allocated memory, it a good idea to have the class overload the assignment operator.

(True/False)
4.7/5
(24)
Showing 61 - 70 of 70
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)