18 lines
311 B
Java
18 lines
311 B
Java
|
public abstract class VehiculeAbstract implements Vehicule{
|
||
|
|
||
|
private int nbRoues;
|
||
|
private String sorte;
|
||
|
|
||
|
public VehiculeAbstract(int nbRoues, String sorte){
|
||
|
this.nbRoues=nbRoues;
|
||
|
this.sorte=sorte;
|
||
|
}
|
||
|
|
||
|
public int nbRoues(){
|
||
|
return nbRoues;
|
||
|
}
|
||
|
|
||
|
public String sorte(){
|
||
|
return sorte;
|
||
|
}
|
||
|
}
|