Java Developer Question:

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 Developer PDF Read All 63 Java Developer Questions
Previous QuestionNext Question
What is Vector class in Java Programming?Described wrapped classes in Java Programming?