add inheritance example

This commit is contained in:
Oleksii Aleshchenko
2023-02-23 16:03:51 +02:00
parent 53a9d20438
commit 2880b770f7
3 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package encapsulationInheritancePolymorphism.inheritance;
public class Main {
public static void main(String[] args) {
ElectricEngine electricEngine = new ElectricEngine();
}
}