Win a copy of Kotlin for Android App Development this week in the Kotlin 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Sybex OCP Java 8 Study Guide: Comparable errata  RSS feed

 
Greenhorn
Posts: 13
2
  • Mark post as helpful
  • send pies
  • 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: 2212
47
Firefox Browser IntelliJ IDE Java Linux Spring
  • Mark post as helpful
  • send pies
  • 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: 13
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
author & internet detective
Posts: 39129
723
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike,
Confirmed and added to the errata crediting you. Thanks!

The LegacyDuck also says "quack!" as a thank you .
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!