Difference Between Primitive And Non-primitive Data Types
Data types specify the different sizes and values that can be stored in the variable.In other words, a Java data type is a set of values and operations defined on those values. There are two types of data types: Primitive data types: The primitive data types include boolean, char, byte, short, int, long, float and double. … Read more