What is an accessor?
rajkumar
Select an image from your device to upload
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.