Java has two categories of data: Primitive Data Type: such as boolean, char, int, short, byte, long, float, and double . Non-Primitive Data Type or Object Data type: such as String, Array, etc.
What are the 3 Java primitive data types?
Java has two categories of data: Primitive Data Type: such as boolean, char, int, short, byte, long, float, and double . Non-Primitive Data Type or Object Data type: such as String, Array, etc.