There's a small typo in the explanation of the correct answer:
"arr[0][1][2] => [0] = { { "a", "b" , "c"}, { "d", "e", null } }, [1] = { "d", "e", null } and [3] = null.
So it will print 'null'."
The [3] should actually be [2]
I spent a few minutes staring at the [3] trying to figure out how in the world that referenced the null
Thanks,
Mark
About Question com.enthuware.ets.scjp.v6.2.504 :
Moderators: Site Manager, fjwalraven
-
- Posts: 9
- Joined: Sat Feb 25, 2012 3:51 pm
- Contact:
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scjp.v6.2.504 :
You are right, it should be [2]. This has now been fixed.
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 56 guests