What is the difference between declaring a HashMap (for example) like this:

Map m = new HashMap();

versus

HashMap m = new HashMap();

?

Obviously this question is not specific to Collections.

Tanya

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to