What is a overflow error
Tony
------------------
Printable View
What is a overflow error
Tony
------------------
it is an arithmetic error wherein a value is either to large or to small for a variable to handle. an example is division by zero, i.e. 10/0
Eclipse's reason is correct, but the example is wrong. Divison by zero will give a "Division by zero" error (error 11). You get over flow for example if you try to assign a value outside the range -32,768 to 32,767 to an Integer.
------------------
Marty