+1 vote
in Software Architecture by (75.2k points)
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

1 Answer

0 votes
by (46.2k points)
Correct answer is (c) All of the mentioned

The best explanation: A program entity is accessible at a point in a program text if it can be used at that point.

Related questions

We welcome you to Carrieradda QnA with open heart. Our small community of enthusiastic learners are very helpful and supportive. Here on this platform you can ask questions and receive answers from other members of the community. We also monitor posted questions and answers periodically to maintain the quality and integrity of the platform. Hope you will join our beautiful community
...