Integer

The int data type is used to store integer values (whole numbers without a decimal point) in the range of -2^31 to 2^31 - 1.

int age = 25;
int year = 2024;

Occupies 4 bytes (32 bits) in memory.

Integer — Structure map

Clickable & Draggable!

Integer — Related pages: