Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.446 :

Posted: Sat Nov 10, 2012 3:36 pm
by ETS User
Hello,

All of the examples are missing the last closing bracket at the very end. It should be :

if ( (str != null) | ( i == str.length() ) )
if ( (str == null) | ( i == str.length() ) )
if ( (str != null) || (i == str.length() ) )
if ( (str == null) || (i == str.length() ) )

So correct answer should be all 4!

Re: About Question com.enthuware.ets.scjp.v6.2.446 :

Posted: Sun Nov 18, 2012 7:16 am
by admin
You are right. This has now been fixed.

thank you for your feedback!