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;