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

Answer Posted / ramprakash

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

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bytes is a url?

745


Give me example of derived data types.

831


Does constructor creates the object ?

792


Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?

739


What is exception handling in java?

774


What is the use of StringTokenizer class?

802


What string is utf8?

727


Can constructor be inherited?

779


Why is singleton not thread safe?

823


Highest level event class of the event-delegation model?

3684


What is command line argument

917


What is a “stateless” protocol ?

739


What is the default value of float and double datatype in java?

750


What is r in java?

778


Write a method to check if input string is palindrome?

758