Page 1 of 1

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

Posted: Wed Mar 25, 2015 8:26 am
by oozgur_812003
Hi,
Is it possible that the answer and the explanation of this question are incorrect? Because it says "Boolean does not have a constructor that takes a boolean or Boolean." after that as an explanation adds "1. Boolean class has two constructors - Boolean(String) and Boolean(boolean)"

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

Posted: Wed Mar 25, 2015 8:49 am
by admin
You are right. The answer is correct (i.e. the option is correctly marked as incorrect!) but there is a mistake in the option explanation. There is no constructor that takes boolean. The explanation at the end of the question is correct.

Fixed.

thank you for your feedback!
Paul.

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

Posted: Thu Apr 02, 2015 9:04 pm
by admin
Not sure what I was thinking. There indeed is a constructor that takes a boolean. There is no constructor that takes a Boolean.
Fixed.

thank you for your feedback!