When you store a value greater than Java Max Int in an int variable, an overflow occurs. The value wraps around to the minimum value, and the program continues from there.