Computer Applications
Define scope and visibility.
Encapsulation & Inheritance in Java
9 Likes
Answer
Scope refers to the parts of the program where a particular piece of code or data item would be known and can be accessed.
Visibility is a related term and refers to whether we can use a variable from a given place in the program.
Answered By
6 Likes