rajkumar
What is an accessor?
By rajkumar in OOP/OOD on Jul 13 2006
  • Keerthi Venkatesan
    May, 2016 18

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

    • 1
  • Mahesh Sanika
    Dec, 2019 2

    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.

    • 0
  • rajkumar
    Jul, 2006 13

    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.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS