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!
About Question com.enthuware.ets.scjp.v6.2.446 :
Moderators: Site Manager, fjwalraven
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.446 :
You are right. This has now been fixed.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 2 guests