package encapsulationInheritancePolymorphism.inheritance; public class ElectricEngine extends Engine { private String batteryType; }