A C++ member function that uses, but does not change, the value of a member variable is called

A) an accessor.
B) a mutator.
C) a user.
D) a constant.
E) a constructor.


A) an accessor.

Computer Science & Information Technology

You might also like to view...

Which of the following is most closely associated with the statement, "Occurs for a given node when the mouse exits that node’s bounds."

a. onMouseDragReleased b. onMouseExited c. onMouseMoved d onMouseReleased

Computer Science & Information Technology

In the figure above, the object indicated by item ____ is the main processing device in your PC.

A. 2 B. 3 C. 4 D. 1

Computer Science & Information Technology

The ___________ states that code should be granted only the amount of privilege and access that it needs to accomplish its designated task.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

If you fail to handle evidence properly ___________

a. You may damage the hard drive. b. It may be unusable in court. c. Law enforcement may not look at it. d. None of the above.

Computer Science & Information Technology