Added classes:

This commit is contained in:
asaad 2020-11-08 02:38:37 +03:00
parent be384ebf76
commit 8c17a87105

15
src/Truck.java Normal file
View File

@ -0,0 +1,15 @@
public class Truck extends CivilVehicle {
private final int TIME_TO_FIX = 20; //in minutes
public Truck(double vehicleSize){
super(vehicleSize);
}
public int getTimeToFix(){
return TIME_TO_FIX;
}
}