• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Author
Posts: 587
6
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Robert.
 
Ranch Hand
Posts: 44
Scala Mac OS X IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 587
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 44
Scala Mac OS X IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 587
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your quick and clear reply!

Francesco
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic