Java · Variables and primitive types
An int and a double each have a fixed size, so some numbers are too big for them, or can't be stored exactly.