public class Truck extends Object
| Constructor and Description |
|---|
Truck() |
| Modifier and Type | Method and Description |
|---|---|
String |
getColour() |
int |
getEngineSize() |
double |
getMaxLoad() |
String |
getNumberPlate() |
void |
setColour(String colour) |
void |
setEngineSize(int engineSize) |
void |
setMaxLoad(double maxLoad) |
void |
setNumberPlate(String numberPlate) |
public String getNumberPlate()
public void setNumberPlate(String numberPlate)
public String getColour()
public void setColour(String colour)
public int getEngineSize()
public void setEngineSize(int engineSize)
public double getMaxLoad()
public void setMaxLoad(double maxLoad)
Copyright © 2018 The Apache Software Foundation. All rights reserved.