SUV Class
This commit is contained in:
parent
eeca8c5cbb
commit
be384ebf76
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
out/
|
||||
/bin/
|
||||
|
15
src/SUV.java
Normal file
15
src/SUV.java
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user