If a certain object’s data members need to be frequently modified by const functions, it is best to:
a. Declare the member values non-const.
b. Declare the member values mutable.
c. Use const_cast to make the member values modifiable.
d. Use static_cast to make the member values modifiable.
b. Declare the member values mutable.
Computer Science & Information Technology
You might also like to view...
Attributes of a class are also known as:
a. Constructors. b. Local variables. c. Fields. d. Classes.
Computer Science & Information Technology
Which of the following offers the fastest communication speed?
A) E1 line B) modem C) T1 line D) telephone line
Computer Science & Information Technology
Which mode enables a user to leave the computer without logging off to come back to his or her personal settings?
A) Edit B) Log off C) Lock D) Sleep
Computer Science & Information Technology
The __________ contains a summary of changes in a document.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology