File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes LinkedHashMap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "LinkedHashMap" Watch "LinkedHashMap" New topic


Sangita Mishra

Joined: Jun 15, 2005
Posts: 22
Which is True?

1) LinkedHashMap extends HashMap and implements Map
2) LinkedHashMap only implements Map (i.e. it's not a subclass of HashMap).
Dave Wood
Ranch Hand

Joined: Aug 02, 2004
Posts: 161
Are you familiar with the javadoc that's shipped with Java? It answers questions like this quite nicely...

Co-Author of <a href="" target="_blank" rel="nofollow">Java Swing</a><br />Co-Creator of <a href="" target="_blank" rel="nofollow">SCJP 5.0</a> and <a href="" target="_blank" rel="nofollow">SCJA</a> exams
It is sorta covered in the JavaRanch Style Guide.
subject: LinkedHashMap
It's not a secret anymore!