HashMap of 10 pairs

  • 5
  • Locked
In the lessons, your mentors explained that a Map is a set of key-value pairs, where the key is a unique name that can be used to access a value. We're going to start working with the HashMap collection. Let's create an instance of this type of collection and tell people about plants. For example: value — fruit, key — watermelon.
You can't complete this task, because you're not signed in.