This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Another wierd OCAJ exam question: explanations invited

 
Andy Ball
Greenhorn
Posts: 20
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, finished yet another Mock exam on Enthuware & am a bit confused by the below..

a) because I got it wrong & b) because Enthuware's explanation involved 'args[2]' which is never mentioned in the given code.

Can someone confirm that the mock is wrong & that I'm not going nuts,... Or point out what I'm obviously not seeing..

http://postimg.org/image/ajhvp8a3n
 
Andy Ball
Greenhorn
Posts: 20
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... DAMMIT!
& yet again, I spot it straight after posting this. i = 2


Mods, - please delete thread as un-required.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic