File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "LinkedHashMap" Watch "LinkedHashMap" New topic
Author

LinkedHashMap

Sangita Mishra
Greenhorn

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
bronco
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...

http://java.sun.com/j2se/1.5.0/docs/api/java/util/LinkedHashMap.html


Co-Author of <a href="http://www.oreilly.com/catalog/jswing2" target="_blank" rel="nofollow">Java Swing</a><br />Co-Creator of <a href="http://www.sun.com/training/catalog/courses/CX-310-055.xml" target="_blank" rel="nofollow">SCJP 5.0</a> and <a href="http://www.sun.com/training/certification/java/associate_beta.xml" target="_blank" rel="nofollow">SCJA</a> exams
 
 
subject: LinkedHashMap