Current location - Loan Platform Complete Network - Big data management - What is an integer variable in JAVA? What are non-integer variables?
What is an integer variable in JAVA? What are non-integer variables?
There are 8 basic data types in Java byte, short, int, long, float, double, boolean, char.

There are four integer types, byte, short, int, long.

Corresponding to 8-bit, 16-bit, 32-bit, 64-bit. The value range is -2^(bit-1) ~ 2^(bit-1)-1.

So defining the variables as: byte, short, int, long is an integer variable, and I think their wrapper class should be an integer variable as well.

Then the others are also non Byte,Short,Inteager,Long.

Then the others are also non-integer variables.