- An Integer datatype is a datatype which is responsible for holding the values which belong to the whole numbers categories. For example – 23, 098, -287, 0, 123.
- Range of integer datatype is in between -2,147,483,648 to 2,147,483,647.
- It can take up to 4 bytes of size.
- Integer data types can be declared using keyword “int”.
Range of other datatypes
Example of int datatype