Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

handle integer overflows and underflows

Thu Nov 06, 2008 4:11 pm

How does Java handle integer overflows and underflows?



Re: handle integer overflows and underflows

Thu Nov 06, 2008 4:14 pm

It uses those low order bytes of the result that can fit into the size of the type allowed by the operation.

Post a reply
  Related Posts  to : handle integer overflows and underflows
 What are exceptions and how to handle them!!!     -  
 How can a GUI component handle its own events     -  
 Handle Cookies using JQuery     -  
 Handle IsPostBack Condition     -  
 Handle Focus events with FocusListener     -  
 Handle Key event-keyboard-Get typed Character and its code     -  
 integer value overflow     -  
 finding the largest integer     -  
 Invalid integer formats     -  
 Dividing two Integer values     -