Please enable JavaScript to use CodeHS

IB SL Glossary

Flashcards

Course:

Module:

Lesson:

Search:

Scope General

In what part of the program the variable exits

Scope

Local variable General

A variable that is restricted to use in a certain scope of a program

Local variable

Variable Java

A symbol or container that holds a value.

Variable Shadowing General

If two variables have the same name, and exist inside of the same scope, the variable with the *more specific* scope takes precedence. This is called shadowing. Local variables and parameters shadow the more general global variables (instance variables).