Refactor: remove example package

This commit is contained in:
2026-04-25 09:59:19 +03:30
parent 2406c5917a
commit 84de0af232
10 changed files with 16 additions and 19 deletions
@@ -0,0 +1,22 @@
package org.util;
import org.example.*;
import org.model.Vehicle;
/*
* Utility class to inspect vehicles.
* Demonstrates instanceof and polymorphism.
*/
public class VehicleInspector {
public static void inspect(Vehicle v) {
v.basicInfo();
// TODO:
// If ElectricCar → print "Check battery system"
// If SportsCar → print "Check brakes and performance"
// If GasCar → print "Check engine and oil"
}
}