This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Typo - Sybex OCP Java 8 Study Guide  RSS feed

 
Greenhorn
Posts: 20
Fedora IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne,

I found small typo while reading your book on page 354: "Line 17 shows that we want to call string.startsWith() ...", where should be "str.startsWith()" or str variable on previous page on code lines 16 - 18 should be renamed on string.

Anyway, thank you very much for this really helpful book.

Lukas
 
Marshal
Posts: 60101
188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have that book, so I can't verify that error. Look here and see whether that has already been listed; I didn't find it, so you probably have a new erratum.
 
author & internet detective
Sheriff
Posts: 38564
654
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell: That's the link to the errata for our OCA book. The OCP errata is here

Lukas: Page 354 in the print book is about concurrency and there is no line 17. Is there a typo in your page # or is it that you are using an e-book. If the later, can you provide the title of the section?
 
Lukas Machacek
Greenhorn
Posts: 20
Fedora IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, the page number is 154 and not 354, my mistake. It is in the print book, chapter 3 and on the first line on that page.
 
Campbell Ritchie
Marshal
Posts: 60101
188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Campbell: That's the link to the errata for our OCA book. . . .

Thank you. I still didn't find that erratum on the webpage.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 38564
654
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Confirmed. Now it is the errata. Thanks for pointing this out!
 
Greenhorn
Posts: 5
IntelliJ IDE Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
There is the statememt on page 160 that a compiler error results from code that attempts to add or remove an item in a list with unbounded wildcard.
With add I agree, bit wit remove I don't.

It works fine.
 
Denis Gurus
Greenhorn
Posts: 5
IntelliJ IDE Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Denis Gurus wrote:Hello!
There is the statememt on page 160 that a compiler error results from code that attempts to add or remove an item in a list with unbounded wildcard.
With add I agree, bit wit remove I don't.

It works fine.



I've already found this typo on site https://www.selikoff.net/java-ocp-8-programmer-ii-study-guide/
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!