edit VehicleInspector.java

This commit is contained in:
2026-04-27 13:28:50 +03:30
parent 8f252041e1
commit c21faaff29
@@ -16,7 +16,6 @@ public class VehicleInspector {
public static void inspect(Vehicle v) {
v.basicInfo();
String type = v.getEnergyType();
if(v instanceof ElectricCar)
System.out.println("Check battery system");