Meaningless Drivel is fun!*
The moose likes Associate Certification (OCAJP 7/8) and the fly likes Free Sample Chapter for Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Associate Certification (OCAJP 7/8)
Bookmark "Free Sample Chapter for "OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)"" Watch "Free Sample Chapter for "OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)"" New topic
Author

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

Robert James Liguori
Author
Ranch Hand

Joined: Nov 27, 2007
Posts: 531
    
    5

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



My Blog (I frequently post on Java, JSF and NetBeans)
Sujeewa Dais
Greenhorn

Joined: Jun 19, 2012
Posts: 7
Thanks Robert.
Jacek Laskowski
Ranch Hand

Joined: Nov 06, 2005
Posts: 34

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?


Jacek Laskowski - http://blog.japila.pl
Robert James Liguori
Author
Ranch Hand

Joined: Nov 27, 2007
Posts: 531
    
    5

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

Joined: Nov 06, 2005
Posts: 34

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

Joined: Jul 09, 2012
Posts: 9
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

Joined: Nov 27, 2007
Posts: 531
    
    5

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

Joined: Jul 09, 2012
Posts: 9
Thank you for your quick and clear reply!

Francesco
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Free Sample Chapter for "OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)"