11 lines
200 B
Java
11 lines
200 B
Java
|
package encapsulationInheritancePolymorphism.polymorphism.enhanced;
|
||
|
|
||
|
public class FuelEngine extends Engine {
|
||
|
private String fuelType;
|
||
|
|
||
|
/*public int getPower() {
|
||
|
return 50;
|
||
|
}*/
|
||
|
|
||
|
}
|