Java View all facts Glossary Help |
scope > scope of a variable |
scope of a variable | ||||
subject | fact |
scope of a variable | consists of the parts of the source code in which reference to the variable can be made | |
has definition The block of code within which the variable is accessible and determines when the variable is created and destroyed | ||
is a subtopic of Scope | ||
is defined by location of the variable declaration within your program | ||
is a kind of scope |
Kinds of scope of a variable :