Page 1 of 1

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

Posted: Fri Oct 16, 2015 11:09 am
by Mushfiq Mammadov
Sample test 6

In explanation of 3rd option is written:
This will not compile because Boolean class does not have a no-args constructor.
But in the last sentence of explanation is written:
Thus, new Boolean() == new Boolean() is false, but new Boolean() == Boolean.parseBoolean("true") is true.

Code: Select all

    System.out.println(new Boolean() == new Boolean());  // DOES NOT COMPILE
    System.out.println(new Boolean() == Boolean.parseBoolean("true"));  // DOES NOT COMPILE
Argument is missing.

P.S. I bought full enthuware exam two days ago, but I decided to begin from sample test for adaptation to program structure. Explanations are very good. I hope that the explanations of standard tests would be helpful too :)

Kind regards,
Mushfiq

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

Posted: Fri Oct 16, 2015 11:17 am
by admin
Hi,
I checked the question just and I see the arguments. Please see image. Please make sure you are using the latest version of the question bank.

HTH,
Paul.
test.png
test.png (24.06 KiB) Viewed 2893 times

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

Posted: Fri Oct 16, 2015 11:27 am
by Mushfiq Mammadov
It is from japv8trial.ets file.

Image

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

Posted: Fri Oct 16, 2015 11:39 am
by admin
Oh, ok. Yes, I see that this was fixed in the full version a while back.
thank you for your feedback!