• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Manoj Shekhawat
Greenhorn
Posts: 17
2
  • Mark post as helpful
  • send pies
  • 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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37469
539
Eclipse IDE Java VI Editor
 
Donald Colvin
Greenhorn
Posts: 13
1
  • Mark post as helpful
  • send pies
  • 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
Marshal
Posts: 37469
539
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made the errata listing more generic. It's meant to cover all instances of that problem.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!