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

collection interface

 
dipali doke
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does map interface extend collection interface? in RHE it says List, Set and a Map extend Collection interface but in some mock exams it says map does not extend Collection interface. Please could someone help on this?
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dipali,
Though Map represents a collection just as List and Set does, Map does not extend the Collection interface. Did you check in the errata forum if this has already been recorded?
Ajith
 
dipali doke
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ajith. I was confused. I will try checking erata.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic