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)"
About Question enthuware.ocajp.i.v8.2.1417 :
Moderators: Site Manager, fjwalraven
-
- Posts: 1
- Joined: Wed Mar 25, 2015 8:18 am
- Contact:
-
- Site Admin
- Posts: 10058
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.1417 :
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.
Fixed.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.
-
- Site Admin
- Posts: 10058
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v8.2.1417 :
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!
Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 45 guests