The parts of a program in which a symbol or object exists or is visible. The location of an item’s declaration determines its scope. Scopes can be nested. For example, a method introduces a new scope for its parameters and local variables. A class introduces a scope for its member variables, member functions, and nested classes. Code in a method in one scope has visibility to other symbols in that same scope and, with certain exceptions, to symbols in outer scopes.
Related terms
class, declaration, function, member, method, object, parameter, variable

Additional Links:

© Copyright OpenText Corp. All rights reserved. Privacy Policy | Cookie Policy

BIRT iHub 2