1 public class Motorcycle extends Vehicle
2 {
3 public Motorcycle()
4 {
5 setNumberOfTires(2);
6 }
7 }