programmazione-java/src/Toll/Truck.java
Orange_Dugongo b1ae4633e4 toll
2016-10-18 17:10:13 +02:00

19 lines
286 B
Java

public class Truck{
public Truck(int axles, int weight){
this.axles=axles;
this.weight=weight;
}
public int getAxles(){
return axles;
}
public int getWeight(){
return weight;
}
private int axles;
private int weight;
}