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