Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt about a s/b SCJP5 book's self-test answer

 
Ted Clark
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Believe this qualifies as errata but following new rule I'll post here. On Page 508 - answer to question 1. Book says correct answer is E and also says E is incorrect. Believe actual answer should be A. 234 Am I right or wrong?
 
wise owen
Ranch Hand
Posts: 2023
 
Ted Clark
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. Link provided was most helpful. E (01234456) not A (234) was correct answer. Need to study this in detail. '0 or more' regex quantifier not exactly intuitive.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic