name any four integer data
types used in java
Answers
Answered by
1
Answer:
There are six numeric types four integer and two floating point:
byte 1 byte -128 to 127.
short 2 bytes -32,768 to 32,767.
int 4 bytes -2,147,483,648 to 2,147,483,647.
long 8 bytes -9,223,372,036,854,775,808 to 9,223,372,036,854,775,80.
float 4 bytes 7 decimal digits.
double 8 bytes 16 decimal digits.
Explanation:
Plz mark my answer as brainlist
Answered by
0
Answer:
Explanation:byte 1 byte -128 to 127.
short 2 bytes -32,768 to 32,767.
int 4 bytes -2,147,483,648 to 2,147,483,647.
long 8 bytes -9,223,372,036,854,775,808 to 9,223,372,036,854,775,80.
float 4 bytes 7 decimal digits.
double 8 bytes 16 decimal digits.
Similar questions