Essential Java Data Types

Java is a statically-typed programming language, meaning every variable must have a declared type

Java data types are classified into Primitive Data Types and Non-Primitive (Reference) Data Types

Data type will decide which data need to be stored inside the variable

We can say data type will assign restriction to the variable

Data type will decide capacity or memory size of an variable