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

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
ElizabethCM
Posts: 29
Joined: Sun Apr 05, 2015 11:26 am
Contact:

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

Post by ElizabethCM »

Hi Paul,

I am not sure I understand what you meant in the last sentence of the Explanation:
If both are Boolean wrappers, then their references are compared just like in the case of other objects.
Thus, new Boolean("true") == new Boolean("true") is false, but new Boolean() == Boolean.parseBoolean("true") is true.
can we have new Boolean()? I guess not as we have only two constructors, one that takes a String and one that takes a boolean as parameters.
I guess it should have been:
...but new Boolean(true) == Boolean.parseBoolean("true") is true

I might be wrong so please correct me if so. Thanks

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

You are right. The string parameter is missing. Fixed.
thank you for your feedback!

ElizabethCM
Posts: 29
Joined: Sun Apr 05, 2015 11:26 am
Contact:

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

Post by ElizabethCM »

You're welcome, thanks for all your answers and help.
Should I update the jar file? I do not see your change
Thanks

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

You are welcome :)
No, you need to update the question bank. Just use the Tools->Check for question bank update menu.

HTH,
Paul.

ElizabethCM
Posts: 29
Joined: Sun Apr 05, 2015 11:26 am
Contact:

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

Post by ElizabethCM »

Thanks, I did it :)

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 18 guests