Java is statically typed: every variable has a declared type checked at compile time. This module covers how variables live in scopes, all eight primitive types, and what happens when you convert between them.
More lessons in Complete Core Java