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.
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...
Use DXDiag to download replacement DirectX files
Indicate whether the statement is true or false
Computer Science & Information Technology
Key the initials of the typist in uppercase one line below the writer's name and title.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
In order to redirect a file to the standard input of a command, what metacharacter should be used?
A. > B. # C. | D.
Computer Science & Information Technology
Second Life is an example of an online ____ game.
A. sports B. board C. card D. role-playing
Computer Science & Information Technology