Data types in Java

Data types specifies the types of value and its size that can be stored in an identifier. There are 2 types of data types as given below. Primitive data types Non-Primitive/Reference data types