Closed skylee03 closed 1 year ago
As per the text:
Some people do use it interchangeably; from UML perspective, visibility is more appropriate.
I see.
As per the text:
Some people do use it interchangeably; from UML perspective, visibility is more appropriate.
So "accessibility" and "visibility" refer to the same thing, except that the former is a Java term and the latter is a UML term?
In Week 8 Quiz, the first question is:
And the standard answer is:
I'm wondering if there are any differences between the two terms. As far as I know, they are often used interchangeably, and The Java® Language Specification uses the term "accessibility".