Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are integer overflows and underflows and how to handle
them?

Answer Posted / nirmala

If the specified value exceeds the range that will result
overflow.
similarly,
if the specified value below the range that will result in
underflow
ie
byte b=259;(butits rangeis(-127 to 128) totally 256
in this u will get overflow error.

Is This Answer Correct ?    26 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string in java? String is a data type?

955


What is difference between string and stringbuffer?

992


What is the difference between yielding and sleeping?

1027


What is a final class in java?

965


Explain the concept of proper inheritance?

1004


What is the difference between heap memory and stack memory?

1012


Is array dynamic in java?

875


Why enumeration is faster than iterator?

888


What is the maximum size of byte array in java?

954


Is map sorted in java?

1004


Is string a wrapper class?

961


What is the purpose of static methods and variables?

984


What is http client in java?

1021


What is reverse function?

1052


What is null statement?

940