Basic and Advance Java Question:

Download Job Interview Questions and Answers PDF

How does Java handle integer overflows and underflows?

Java Interview Question
Java Interview Question

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?