Page 1 of 1

About Question enthuware.ocajp.i.v7.2.904 :

Posted: Sat Sep 01, 2012 7:40 pm
by ETS User
It also won't compile because the "M" in the main method can't be capitalized.

Re: About Question enthuware.ocajp.i.v7.2.904 :

Posted: Sun Sep 02, 2012 6:51 am
by admin
No, that is not a cause of compilation failure as explained in the given explanation for this option.

HTH,
Paul.

Re: About Question enthuware.ocajp.i.v7.2.904 :

Posted: Tue Oct 15, 2013 5:36 pm
by javanaut
Option 4 says ANGLE field is not initialized but it is initialized. :shock:

Re: About Question enthuware.ocajp.i.v7.2.904 :

Posted: Tue Oct 15, 2013 5:48 pm
by admin
Javanaut, that is why it is not a correct option :)
-Paul.

Re: About Question enthuware.ocajp.i.v7.2.904 :

Posted: Tue Oct 15, 2013 6:10 pm
by javanaut
Hm, yes... Although, the helpful blue text explaining why this option is incorrect makes it seem as though it is not initialized.
Since it is a static field, it will get a default value of 0.0.

Re: About Question enthuware.ocajp.i.v7.2.904 :

Posted: Tue Oct 15, 2013 6:23 pm
by admin
That's a valid point and can certainly cause confusion.

It has now been fixed.

thank you for your feedback!
Paul.

Re: About Question enthuware.ocajp.i.v7.2.904 :

Posted: Tue Oct 15, 2013 8:20 pm
by javanaut
I thought it was confusing...it is great to read that it is not just me who found it confusing. I am glad I could help. You are welcome. :D

Respectfully,

Javanaut