Interview Questions

What is an accessor?

C++ Interview Questions and Answers


(Continued from previous question...)

2. What is an accessor?

An accessor is a class operation that does not modify the state of an object. The accessor functions need to be declared as const operations

(Continued on next question...)

Other Interview Questions