
There are two types of data types in Java, one is Primitive Data Types and Non-Primitive Data Types. There are eight primitive data types in Java.
Primitive Data Types
Byte, Short, Int, Long, Float, Double, Char, Boolean
Below diagrams will give you an explanation of data types.
You must be logged in to post a comment.