Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Free Sample Chapter for "OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)"

 
Robert James Liguori
Author
Ranch Hand
Posts: 551
5
Java Netbeans IDE Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just FYI,

Chapter 3 of "OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)" is free via PDF:

http://mhprofessional.com/product.php?isbn=0071789421

(Look for the "Chapter 3" download link on the left side of the page)

-- Robert


 
Sujeewa Dais
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Robert.
 
Jacek Laskowski
Ranch Hand
Posts: 42
IntelliJ IDE Mac OS X Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Robert! I immediately immersed in its reading and just on page 86 found a typo - GoldCoins should be goldCoins, I believe. Also, I don't understand why you compare isCaptain to true since you could use isCaptain directly - it's of boolean type after all?
 
Robert James Liguori
Author
Ranch Hand
Posts: 551
5
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jacek Laskowski wrote:Thanks Robert! I immediately immersed in its reading and just on page 86 found a typo - GoldCoins should be goldCoins, I believe. Also, I don't understand why you compare isCaptain to true since you could use isCaptain directly - it's of boolean type after all?


"... and just on page 86 found a typo - GoldCoins should be goldCoins, I believe."
Good catch, this is indeed a typo and will be added to a new errata list for the book, that will be available online. Thank you very much for calling this out.

"Also, I don't understand why you compare isCaptain to true since you could use isCaptain directly"
This is an excellent observation as well. I believe you are referring to a "best practice", that we could have indeed followed. But I think in the context of the diagram and for novice programmers, showing the full operation was a better decision. On second thought, perhaps it wasn't the best decision. We'll need to consider refactoring this as well.

Thanks again and please let use know if you find anything else,
Robert
 
Jacek Laskowski
Ranch Hand
Posts: 42
IntelliJ IDE Mac OS X Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Robert Liguori wrote:Thanks again and please let use know if you find anything else,

I will, but guess I would likely find more if I've got the entire book. Can't wait till I win it - just a couple of days yet!
 
Francesco Valle
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the preview! ;)

When do you think the book will be available on the online shops?

Thank you,
Francesco
 
Robert James Liguori
Author
Ranch Hand
Posts: 551
5
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Francesco Valle wrote:Thank you for the preview! ;)

When do you think the book will be available on the online shops?

Thank you,
Francesco


The book is available pre-order from sites like Amazon, Books-a-Million and Barnes & Noble.

The book is printed and bound, so as soon as their warehouses get them, they'll be available, which should be soon.

Amazon currently has the book at 40% off.

Thanks for your interest,
-- Robert
 
Francesco Valle
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your quick and clear reply!

Francesco
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic