Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
An accessor (In programming) is a method that fetches private data that stored within an object
Public data member can be easily accessed using the direct member access (.) operator with the object of that class unlike private data member's which need a public member function to access or initialization of the private data member's in the class.
Those public member functions are also called Accessors.
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
Find the successor of12 . Say1,2,3,4,5,6,7,8,9,10,11,12 and then the next number is13 so13 is the successor of12.