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