An accessor is used to return the value of a private field
An accessor method is a method that fetches private data that is stored within an object. An accessor provides the means by which to obtain the state of an object from other program parts.
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.