Understand Java Variables : From Primitives to References
Java is a strongly typed language, meaning each variable must have a specific type, and only values of that type can be assigned to it. In Java, there are two main types of variables: primitive and reference variables.