The Map interface stores the elements in key/value pairs (as in Hashtable). It does not accept duplicate keys. One key represents only one value. Two keys may have the same value. For example, two students, with roll numbers 35 and 46, may have the same marks of 50. Map interface is clearly discussed in interface Map Tutorial. One important implementatin... Read more →
↧