- This event has passed.
6 Pm – Intro To Java
August 12, 2021 @ 6:00 pm - 7:00 pm
Homework
- Figure out rushHour logic. Rush hour is between 6AM to 10 AM and 4PM to 7PM. selectedDriver.timeInMinuteToMakeTheTrip(distanceInMile, true);
- Create Vehicle class with the following attributes
- String vehicleName
- int numOfPassenger
- getter and setter and the Constructor.
- Create a Map<String, Vehicle> and add 3 different vehicles:
- Minivan, 7 passengers
- Sedan, 4 passengers
- Smart Car, 1 passenger