Java defines the two different types of data types, primitive types data, and non-primitive types data respectively. Primitive has eight data types: sort, int, long, float, double, byte, char, and boolean while non-primitive has three types of data types: string, array, and classes. #java #datatypes #array #class