This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LinkedHasMap Question  RSS feed

 
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
Boost this thread!