Page 1 of 1

About Question enthuware.ocajp.i.v8.2.2018 :

Posted: Sun Oct 14, 2018 7:24 am
by SLangella
Hello, there is an error in the Explanation, I think...
It says:
"Similarly, when any of the operands is of type long, the result will be a long and if any of the operands is a float or a double, the result will be a double. "
But the JLS says (and the compiler behave so):
"If at least one of the operands to a numerical operator is of type double, then the operation is carried out using 64-bit floating-point arithmetic, and the result of the numerical operator is a value of type double. If the other operand is not a double, it is first widened (§5.1.5) to type double by numeric promotion (§5.6).

Otherwise, the operation is carried out using 32-bit floating-point arithmetic, and the result of the numerical operator is a value of type float. (If the other operand is not a float, it is first widened to type float by numeric promotion.)".

Re: About Question enthuware.ocajp.i.v8.2.2018 :

Posted: Sun Oct 14, 2018 11:36 am
by admin
You are right. Fixed.
thank you for your feedback!

Re: About Question enthuware.ocajp.i.v8.2.2018 :

Posted: Sat Dec 08, 2018 1:49 pm
by flex567
You are right. Fixed.
thank you for your feedback!
Is this fixed allready?

Re: About Question enthuware.ocajp.i.v8.2.2018 :

Posted: Sat Dec 08, 2018 10:06 pm
by admin
Yes, it has been. Please download the latest version of the question bank.