12 lines
134 B
Java
12 lines
134 B
Java
|
public class Voiture implements Vehicule
|
||
|
{
|
||
|
public String sorte()
|
||
|
{
|
||
|
return "Voiture";
|
||
|
}
|
||
|
|
||
|
public int nbRoues()
|
||
|
{
|
||
|
return 4;
|
||
|
}
|
||
|
}
|