• 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

Errata: Java OCP 8 Programmer II Study Guide: Chapter 03: Comparable (Sybex)

 
Greenhorn
Posts: 24
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Comparable topic all the examples and statements assume that it's in java.util package.

However as we know it's in java.lang package.

This can't be typo as below is incorrect statement mentioned in book:
"You might have noticed by now that we have been writing java.util.Comparable. That’s because it is in the java.util package."

This needs to be fixed.

PS: I'm reading it in safaribooksonline
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, this is in the errata
 
Greenhorn
Posts: 13
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The errata does not presently address the erroneous text of the last paragraph on page 145, which begins:

You might have noticed by now that we have been writing java.util.Comparable. That's because it is in the java.util package.

It presently only mentions changing java.util.Comparable to Comparable in the example code on pages 144 and 145.
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I made the errata listing more generic. It's meant to cover all instances of that problem.
 
reply
    Bookmark Topic Watch Topic
  • New Topic