Hi, I'm new to Java and programming. I have an assignment I'm trying to do and I'm pretty stumped on this question.
I have a TreeMap where the keys are Strings (of musical artists) and the values are Lists (of artist name, album title, album genre and album year).
I have a method to do that display all information for every CD which I have iterated through with a foreach loop. The problem is that I can't get the List values to display all the information when I print, I just get the hash values? of each list bu I need it to print the information in the list. eg. The Sex Pistols, Nevermind the Bollox, Punk, 1977.
Can anyone tell me how to do that?