Why do classes use accessor methods?
(a) To make public data accessible to client
(b) To make public data private to client
(c) To make private data public for whole program
(d) To make private data accessible to the client
I have been asked this question during an online interview.
Enquiry is from Class Use topic in division Classes of Object Oriented Programming