How would I do this? HELP!! please:(
registerVehicle(Vehicle aVehicle, String license) which takes a vehicle object as a parameter and the license ID of a driver who owns the vehicle and then registers the vehicle in the database by updating the vehicles list accordingly as well as storing the owner properly.
This is what i have so far:
Code:registerVehicle(Vehicle aVehicle, String license) {
this.vehicles.add(aVehicle);
}