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

Explain the difference between intermediate and terminal operations in java8?

1103


What is default locale java?

1104


What is the difference between variable & constant?

1017


Explain jdk, jre and jvm?

965


What are thread local variables?

1135


Is string a class?

1019


What will happen to the exception object after exception handling?

990


How to connect to a remote database using Applet?

2532


How do listeners work?

1028


Explain the differences between static and dynamic variables?

1141


What is the purpose of abstract class?

1013


How does multithreading take place on a computer with a single cpu?

998


Why arraylist is not synchronized in java example?

1055


Explain about version control?

1031


List the different types of classloaders in java.

966