Thankyou for your help guys, Ive tried to create a new Car object but at the moment all i seem to be doing is sitting here staring at a blank screen, Any help would be greatly APPRECIATED, i know i have to initialise a new Car object, i have tried using,
Car C = new Car();
However, it says it cannot find symbol constructor. Has anyone ideas of how to resolve this?
martin
User Profile
Collapse
-
Beginner stuck on coursework with HASHMAP's!
This is the car dealership object relating to the coursework, there is also a separate object named car that i think i need to link to. The problem is on the addcar() method. Any help would be greatly appreciated.
/** A CarDealer object represents a business that buys and resells used cars */
import java.util.Array List;
import java.util.HashM ap;
public class CarDealer
{
private int dayNumber;...
No activity results to display
Show More
Leave a comment: