• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LinkedHashMap

 
Sangita Mishra
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic