I don’t want to muck up the page, so there will be a pastebin at the bottom with my code on it.
I am trying to create a HashMap and create multiple objects of a ‘Car’ class depending on the variable entered into my ‘Traffic’ class. But I get an error on line 28 saying “Type mismatch: cannot convert to Object to traffic.Car.” How do I solve this issue?