Category Archives: Java

NaN (Not a Number) in Java

3.6

Can You guess the output of following code fragment: Yes, You guessed it right: ArithmeticException Output: Exception in thread “main” java.lang.ArithmeticException: / by zero at… Read More »