I have the following code, but I am struggling with part of the question. The keys are the names and the values are their interests. I have to add a public method called printMapValue() which takes 1 argument and returns no value. If the key is in the map, then it prints out the values associated with it. Every time I run it, it prints out the key instead of the value. I know the solution is going to be really simple, but I just can't see it. Any help will be appreciated
Every time I run it, it prints out the key instead of the value.