Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LinkedHasMap Question

 
RAGU KANNAN
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Folks,

The collection chapter (Page 18 of 50) from K & B book shows the diagram of MAP interface and LinkedHasMap class directly implemented from MAP interface.But the truth is the LinkedHasMap is subclass of HasMap. I don�t know why author show�s the diagram like that. Pls explain to me.

Thanks, Raghu.K
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
LinkedHashMap implements Map interface and extends HashMap class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic