From 72435bc955ab2a141bb8d62737990f97da4a1a04 Mon Sep 17 00:00:00 2001 From: aeen Date: Sat, 25 Apr 2026 10:19:32 +0330 Subject: [PATCH] docs: update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3ec0903..e06e1cb 100644 --- a/README.md +++ b/README.md @@ -65,19 +65,23 @@ Your task is to complete the implementation of the classes by finding the `TODO` - Complete the constructor using `super` - Override the `getEnergyType()` - Override the `showDetails()` +- Implement `needsService(Vehicle v)` and `performService()` from the Serviceable interface ### 3. GasCar Class - Override `getEnergyType()` - Implement `refuel(double amount)` with validation - Override `showDetails()` +- Override `Serviceable.java` methods ### 4. ElectricCar Class - Override `getEnergyType()` - Implement `charge(double amount)` with validation - Override `showDetails()` +- Override `Serviceable.java` methods ### 5. SportsCar Class - Override `showDetails` to include specific Sports Car feature alongside the base class details +- Override `Serviceable.java` methods ### 6. VehicleInspector Class - Complete the `inspect(Vehicle v)` method using `instanceof`