Variable Scope
Learn about different visibility ranges for variables.
Having learned to create and use methods, it’s time to learn about a concept called variable scope. Each variable is available within a specific context or scope. Outside this context, the variable is nonexistent and inaccessible.
There are various scope levels:
Scope levels
Get hands-on with 1400+ tech skills courses.