If the members have to be accessed from anywhere in the program and other packages also, which access specifier should be used?
(a) Public
(b) Private
(c) Protected
(d) Default
I had been asked this question in an interview for job.
Question is from Public Access Specifier in portion Access Specifiers of Object Oriented Programming