This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.

Question : What happens when you have this in you code double x; x = 24.0/0; Answer : Compiles and runs. Floating point numbers don�t produce a divide-by-zero ArithmeticException. They will give a result which is a Not a Number value. Maybe the answer should be : Compiles and runs. Floating point numbers don�t produce a divide-by-zero ArithmeticException. They will give a result which is Double.POSITIVE_INFINITY. Also notice that 24.0%0 gives NaN.