Fix needsService logic after debugging

This commit is contained in:
2026-04-28 11:35:37 -07:00
parent d76daf2454
commit a8c60ec5fc
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -59,6 +59,7 @@ public abstract class Car extends Vehicle implements Serviceable {
@Override
public boolean needsService(Vehicle v) {
return v.getMileage() > 10000;
}