
DEFINITION :
Data type in any language is the type of data that is used to represent the values such as the whole numbers(Integer types) , number with decimal points(floating point), characters etc.Data type in java language is one of the most fundamental element.There are two types of data in Java, these are :1. Primitive type2. Reference type
PRIMITIVE…