/Users/johnr/Desktop/IA_14_-_Stage_P_Upload_all_2021-04-08/CS IA Shoe Reselling Aryan April 6th /src/ChildrensShoe.java |
1
2
3
4
5
6
7
8
9
10
11 @author
12
13 public class ChildrensShoe extends Shoes{
14
15 private double childrensSize = -9999999.999999;
16
17
18 public ChildrensShoe(){
19
20 }
21
22
23 public ChildrensShoe(String name, double size, double buyingPrice, double sellingPrice, int shoeDateBoughtDay, int shoeDateBoughtMonth, int shoeDateBoughtYear, String datebought, int shoeDateSoldDay,
24 int shoeDateSoldMonth, int shoeDateSoldYear, String collaboration, String brand, double profitability, String gender, double childrensSize) {
25 super(name, size, buyingPrice, sellingPrice, shoeDateBoughtDay, shoeDateBoughtMonth, shoeDateBoughtYear, datebought, shoeDateSoldDay,
26 shoeDateSoldMonth, shoeDateSoldYear, collaboration, brand, profitability, gender);
27
28 this.childrensSize = childrensSize;
29 }
30
31
32
33
34
35
36
37 public double getChildrensSize() {
38 return childrensSize;
39 }
40
41
42
43
44
45
46
47
48 public void setChildrensSize(double childrensSize){
49 this.childrensSize = childrensSize;
50 }
51
52 }
53