Java   View all facts   Glossary   Help | 
| scope > scope of a variable > scope of a class variable | 
| scope of a class variable comparison table | |||
| Subject | is a kind of | define by | has definition | 
|---|---|---|---|
| scope of a variable | scope | location of the variable declaration within your program | The block of code within which the variable is accessible and determines when the variable is created and destroyed | 
| scope of a class variable | scope of a variable | the public, private and protected keywords | 
Next scope of a variable: scope of a instance variable     Up: scope of a variable    Previous scope of a variable: scope of a variable defined in a block