6 lines
138 B
Java
6 lines
138 B
Java
|
package encapsulationInheritancePolymorphism.inheritance;
|
||
|
|
||
|
public class ElectricEngine extends Engine {
|
||
|
private String batteryType;
|
||
|
}
|