Basic and Advance Java Question:
Download Questions PDF

How does Java handle integer overflows and underflows?

Answer:

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

Download Java Interview Questions And Answers PDF

Previous QuestionNext Question
What is the List interface in Java Programming?What is the Vector class in Java Programming?