Basic and Advance Java Question:

How does Java handle integer overflows and underflows?

Tweet Share WhatsApp

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 PDF Read All 81 Java Questions
Previous QuestionNext Question
What is the List interface in Java Programming?What is the Vector class in Java Programming?