The basic data types of Java are:
1. Boolean (boolean)
Value range: True or False
2 , Byte type (byte)
Value range: 0 - 255
3. Short integer type (short)
Value range: -32,768 ~ 32767
4. Integer type (int)
Value range: -2,147,483,648 ~ 2,147,483,647
5. Long integer type (long)
< p>Value range: -9223372036854775808~92233720368547758076. Single-precision floating point type (float)