SUV Class

This commit is contained in:
asaad 2020-11-08 02:31:20 +03:00
parent eeca8c5cbb
commit be384ebf76
2 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
out/
/bin/

15
src/SUV.java Normal file
View File

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