🔥 HOT: T//java programmer SCJP/certification/Sybex OCP Java Study Guide - Collection

  • 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
  • paul wheaton
  • Devaka Cooray
  • Tim Cooke
  • Paul Clapham
Sheriffs:
  • Ron McLeod
Saloon Keepers:
  • Tim Holloway
Bartenders:

Sybex OCP Java 8 Study Guide: Comparable errata

 
Greenhorn
Posts: 15
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I believe there is an error in chapter 3, section Comparable regarding the package:

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

Comparable is in java.lang, not in java.util; as the book points out in the summary table a little later.


 
Bartender
Posts: 2237
63
IntelliJ IDE Firefox Browser Spring Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good catch!
Have a cow for reporting this :-)

Also, remember to UseCodeTags (this is a link) when postiong code. I have added them for you this time.
Doesn't it look better.
 
Mike Constantin
Greenhorn
Posts: 15
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks!
 
author & internet detective
Posts: 42241
943
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
Mike,
Confirmed and added to the errata crediting you. Thanks!

The LegacyDuck also says "quack!" as a thank you .
 
reply
    Bookmark Topic Watch Topic
  • New Topic