When is a program accessible?
(a) A program entity at a point in a program text if it can be used at that point
(b) A variable is a programming language device for storing values
(c) All of the mentioned
(d) None of the mentioned
I have been asked this question during a job interview.
My question comes from Visibility, Accessibility and Information Hiding topic in chapter Visibility, Accessibility and Information Hiding of Software Architecture