You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mooc.fi
Hi,
I'm having problems with week 9 exercise 26 of Java OOP Part 2 .
I'm currently having issues adding an address to a Person object. I currently have a HashMap holding the Person object as a key, and a HashSet to hold phone numbers. I'm getting a concurrent modification exception when I have more than one Person key in my HashMap. I'm also having problems creating a new Person object when I attempt to add an address to a Person that does not exist in my HashMap. Any hints would be much appreciated.