What is map in collection framework?

  • Maps stored elements in the form of key and value pairs.
  • If key is provided then its corresponding value can be obtained.
  • Of course key should have unique values.

No comments:

Post a Comment