In this tutorial you will learn about the Java Variables & Primitive Data Types and its application with practical example.
Java Variables & Primitive Data Types
Java has eight primitive types of data: byte, short, int, long, char, float, double, and boolean.
These can be put in four groups:
Integers include byte, short, int, and long
Floating-point numbers include float and double
Characters include char, like letters and numbers.
Boolean include boolean representing true/false values.