Java has features for handling data or variable, every data must have a declared type, in this tutorial, we will discuss different types of data, there are two groups of a data type in Java, primitive and non-primitive, and the primitive has subgroups that categorized into different kinds of data type, see the tree diagram