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

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
alkour
Posts: 30
Joined: Tue Mar 24, 2015 2:59 pm
Contact:

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

Post by alkour »

Hi,

I cannot understand exression in explanation part 3
Thus, new Boolean() = = new Boolean() is false,
but new Boolean() = = Boolean.parseBoolean(" true") is true.
It will not compile as Boolean class does not have default constructor.
Could I ask to clarify?

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

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

Post by admin »

It should be new Boolean("true") instead of new Boolean() in all the three place. Fixed.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest