clockType-hr: int-min: int-sec: int+setTime(int, int, int): void+getTime(int&, int&, int&) const: void+printTime() const: void+incrementSeconds(): int+incrementMinutes(): int+incrementHours(): int+equalTime(const clockType&) const: boolThe word ____ at the end of several the member functions in the accompanying figure classclockType specifies that these functions cannot modify the member variables of a clockType object.

A. static
B. const
C. automatic
D. private

Answer: B

Computer Science & Information Technology

You might also like to view...

Attempting to access a private member of a class outside that class ________.

a) is a run-time error b) is a syntax error c) is a logic error d) can be accomplished using IntelliSense e) None of the above.

Computer Science & Information Technology

Given the C++ output statements. What is the output of these lines of code? Explain. cout << "If you have "; cout << "a number of pods "; cout << "you can quit."; cout << "\n";

What will be an ideal response?

Computer Science & Information Technology