My apologies if I caused offence, I will do so in the future. I certainly do value your replies and advice.
Type: Posts; User: ryan12345
My apologies if I caused offence, I will do so in the future. I certainly do value your replies and advice.
I've come up with this:
public static void listCars()
{
for (String key : cars.keySet()) {
for (int x=0; x < (cars.get(key)).size(); x++)
{
...
That's great thanks. Quick question, how would I go about looping through the associated ArrayList of Strings?
I have a hashmap which currently contains people's names as keys and then has a string arraylist as the values which are the peoples currently owned cars.
For example:
Tom: BMW, Audi
John:...