Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collections and Map interface
06-27-2008, 01:07 PM
Post: #1
Collections and Map interface
What are Collections and what is a Map interface? Can u pls explain with an example.
Find all posts by this user
Quote this message in a reply
06-27-2008, 03:52 PM
Post: #2
RE: Collections and Map interface
Collections are a collections of objects. Where maps are key value pairs.
Find all posts by this user
Quote this message in a reply
09-11-2008, 12:36 AM (This post was last modified: 09-15-2008 02:06 PM by albinjoseph.)
Post: #3
RE: Collections and Map interface
Collections is a class and Collection is an interface which contains 3 Types
1) Tree
a)Treeset
2) List
a) ArrayList
b) Vector
3) Map
a) HashTable
b) HashMap


Collections is a class which we can create object where as mapis an interface we can not create object.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)