update inheritance example

This commit is contained in:
Oleksii Aleshchenko
2023-03-02 14:41:44 +02:00
parent 2880b770f7
commit 4b159fa22b
3 changed files with 11 additions and 1 deletions
@@ -0,0 +1,5 @@
package encapsulationInheritancePolymorphism.inheritance;
public class FuelEngine extends Engine {
private String fuelType;
}