Java Data Types
• Java has two types of data types: Primitive and Non-Primitive.
• Primitive types include int, float, double, char, boolean, byte, short, long.
• Non-primitive types include String, Arrays, and Classes.
• Primitive types store simple values.
• Non-primitive types store references to objects.