This commit is contained in:
2024-09-27 10:23:15 +02:00
parent 4908d26105
commit c556d9d901
10 changed files with 81 additions and 1 deletions

View File

@ -0,0 +1,7 @@
package com.oop;
public class HybridVehicle extends Vehicle {
public void resource(){
System.out.println("I use both petrol and electricity");
}
}