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

@ -27,5 +27,11 @@ public class Vehicle {
public void setColor(String c) {
this.color = c;
}
public void start(){
System.out.println("Starting");
}
public void resource(){
System.out.println("I use petrol");
}
}