+1 vote
in Software Architecture by (75.2k points)
What is visibility?

(a) A program entity at a point in a program text if it can be referred to by name at that point

(b) The portion of a text over which a program entity is visible

(c) All of the mentioned

(d) None of the mentioned

The question was asked in an international level competition.

This question is from Visibility, Accessibility and Information Hiding topic in division Visibility, Accessibility and Information Hiding of Software Architecture

1 Answer

0 votes
by (46.2k points)
Correct choice is (b) The portion of a text over which a program entity is visible

The best I can explain: A program entity is visible at a point in a program text if it can be referred to by name at that point and The portion of a text over which a program entity is visible is its visibility.

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
...