Java is a strongly, statically typed language. The type of every variable is known at compile time and cannot change. All types are divided into primitive types and reference types.
Primitive Types
Java is a strongly, statically typed language. The type of every variable is known at compile time and cannot change. All types are divided into primitive types and reference types.