This commit is contained in:
2024-03-18 13:54:22 +01:00
parent eb581c8a31
commit a28bef01d7
69 changed files with 855 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
public class Moto implements Vehicule{
private String type;
private int roues;
public Moto(){
this.type = "moto";
this.roues = 2;
}
public int nbRoues(){
return this.roues;
}
public String sorte(){
return this.type;
}
}