Understanding Data Types in Java
Java is a statically typed programming language. This means that when you create a variable, you must also specify its data type, which is the type of information it stores. Java has two data types: primitive and reference (also known as non-primitive). In this tutorial, you will use [variables](https://en.wikipedia.org/wiki/Variable_(computer_science)) to store and use information in a Java program to learn about some of the commonly used data types in Java.