APL/APL2.1/TP7/Véhicules/Moto.java

9 lines
156 B
Java
Raw Normal View History

2022-03-28 15:37:13 +02:00
public class Moto implements Vehicule {
int nbroues = 2;
public String sorte() {
return "moto";
}
public int nbRoues() {
return nbroues;
}
}