Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Errata for OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide - page 122

 
Ranch Hand
Posts: 44
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I see page 122 in the section Understand Generic Supertypes "Line 4 is fine... Line 5 is also fine..." while it should be "Line 5 is fine... Line 6 is also fine".

Guillaume
 
author & internet detective
Posts: 40169
812
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Confirmed and logged in the errata. Thanks for noting this. While it is obvious what we meant, it is still wrong!
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that same section it says

3: List<? super IOException> exceptions = new ArrayList<Exception>();


and

Line 3 references a List that could be List<IOException> or List<Exception> or List<Object>.



Just to be complete, List<Throwable> is also possible and even List<Serializable>.
 
Marshal
Posts: 70208
280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That looks like a good catch
 
Jeanne Boyarsky
author & internet detective
Posts: 40169
812
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Noted. We will clarify in our Java 11 version of this book.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are in the 1z0-809 exam also questions from the 1z0-804 exam, or is there a complete new Question pool?
 
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic