Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

What is an accessor?

  Shared By: Adah Miller    Date: Jan 25    Category: C++ Programming    Views: 81

Answer:

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.

Share: 
 

Didn't find what you were looking for? Find more on What is an accessor? Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: