2
Reply

What is an accessor?

rajkumar

rajkumar

18y
6.8k
0
Reply

    An accessor is used to return the value of a private field

    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.