Two Laptop Bag*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes collection interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "collection interface" Watch "collection interface" New topic

collection interface

dipali doke

Joined: May 20, 2004
Posts: 5
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

Joined: Mar 17, 2000
Posts: 5782
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?

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
dipali doke

Joined: May 20, 2004
Posts: 5
Thanks Ajith. I was confused. I will try checking erata.
subject: collection interface
Similar Threads
why map interface do not extend Collection interface though it is a part of Collection framework
Dan's Question
Map IS-A Collection?
a question about Collection framework?
Why Map doesn't extend collection interface while List and Set can extend Collection interface