This document discusses the two classifications of data types in Java - primitive data types and object data types. Primitive data types are built into Java and include boolean, byte, char, double, float, int, long, and short. Object data types are also built into Java but allow programmers to create their own classes to define objects.
2. Learn More
About Data
Types:
In Java, data types determine the value of a
variable and the type of operations that can be
applied to those variables.
4. In the Java programming language, there are two
classifications;
Primitive Data: Such datas are built into the Java
language and they possess keywords. There are 8
primitive types of data, including, double, long, int,
byte, char, boolean and float.
Object Data: These datas are also built into the
Java language but the programmer has the control to
create his own classes here.