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,19 @@
public class Voiture implements Vehicule{
private String type;
private int roues;
public Voiture(){
this.type = "voiture";
this.roues = 4;
}
public int nbRoues(){
return this.roues;
}
public String sorte(){
return this.type;
}
}