There are two kinds of data: The primitive data types include byte, short, int, long, float, double, boolean, and char. Strings, arrays, and classes are examples of non-primitive data types.