/Users/johnr/Dropbox/johnrayworth.info/largeFilesOutsideJSR/__IB-Other/Other/IA-Solutions-2019/TigerBee/Product/Computer Science Ia/src/computer/science/ia/InternationalFlight.java |
1
2
3
4
5
6 package computer.science.ia;
7
8
9
10 @author
11
12 public class InternationalFlight extends Flight{
13
14 private String countryDestination = "not set yet";
15 private boolean requireVisa = false;
16
17 public InternationalFlight(){
18
19 }
20
21 public InternationalFlight(String cityCode, String cityDestination, int numberOfFlights, int totalPassengers,
22 long totalRevenue, int distance, String countryDestination, boolean requireVisa){
23 super(cityCode, cityDestination, numberOfFlights,totalPassengers,
24 totalRevenue, distance);
25 this.countryDestination = countryDestination;
26 this.requireVisa = requireVisa;
27 }
28 }
29