Skip to content

Glossary: Java Basics

Local variable

Also written: local

A variable declared inside a method or block. Other methods can't see it, and it's gone when the block ends.

Where the book teaches it

Related terms

ScopeVariable