1

Why 1.0d / 0.0 give NaN but 1 / 0 give me java.lang.ArithmeticException: / by zero, why for the 1st case also I did not got ArithmeticException

Vishrant
  • 15,456
  • 11
  • 71
  • 120

0 Answers0