• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Questions/errata for Sybex OCP 17 Study Guide [Sybex CSG 17/Sybex 829]

 
Greenhorn
Posts: 1
1
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
in page 491, chapter 9 Collections and Generics - Comparing Collection Types, we find at the bottom of the page :  

Stack: Implements Queue.  
but it should be  Stack: Implements List.


Class Stack<E>

java.lang.Object
java.util.AbstractCollection<E>
 java.util.AbstractList<E>
  java.util.Vector<E>
   java.util.Stack<E>

All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess

thank you

-------------------------------------
Mourid Smida
 
author & internet detective
Posts: 42160
937
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mourid,
Welcome to CodeRanch!

I've added this to our errata for both the Java 11 and 17 books. I also gave you a cow because *nobody* noticed this error in the Java 11 book.
 
reply
    Bookmark Topic Watch Topic
  • New Topic