Question: It seems wrong that Java should just let ints overflow and give bad values. Shouldnt Java automatically check for overflow?
It seems wrong that Java should just let ints overflow and give bad values.
Shouldn’t Java automatically check for overflow?
Step by Step Solution
3.45 Rating (155 Votes )
There are 3 Steps involved in it
This is a common question about Javas handling of integers The reason Java doesnt automatically chec... View full answer
Get step-by-step solutions from verified subject matter experts
