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 are the high-level thread states? : Java thread

990


How do you know if a value is nan?

1043


What is a "pure virtual" member function?

1077


How arrays are stored in memory in java?

964


What is executor memory?

931


How do you classify Dialog Box?

1095


What is a dot notation?

1010


What is difference between an object and a class?

1109


Can we have a try block without catch block?

970


what are abstract functions?

1012


Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

1083


Difference between nested and inner classes ?

1101


What are the different types of collections in java?

948


What is a condition in java?

982


Is java se free?

921