0% found this document useful (0 votes)
4 views1 page

Java Datatypes

Java data types are categorized into two types: Primitive and Non-Primitive. Primitive types include int, float, double, char, boolean, byte, short, and long, which store simple values, while Non-Primitive types include String, Arrays, and Classes, which store references to objects.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Java Datatypes

Java data types are categorized into two types: Primitive and Non-Primitive. Primitive types include int, float, double, char, boolean, byte, short, and long, which store simple values, while Non-Primitive types include String, Arrays, and Classes, which store references to objects.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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.

You might also like