Skip to content

Glossary: Java Basics

var

Lets Java work out a variable's type from its value, as in `var cafes = 40;`. The type is still fixed afterwards.

Where the book teaches it

Related terms

VariableType