-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCarSuperClass.java
More file actions
49 lines (38 loc) · 963 Bytes
/
Copy pathCarSuperClass.java
File metadata and controls
49 lines (38 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package Model;
public class CarSuperClass {
private String CarName;
private String CarType;
private String CarBrandName;
private int CarTyreCount;
private double CarCost;
public String getCarName() {
return CarName;
}
public void setCarName(String carName) {
CarName = carName;
}
public String getCarType() {
return CarType;
}
public void setCarType(String carType) {
CarType = carType;
}
public String getCarBrandName() {
return CarBrandName;
}
public void setCarBrandName(String carBrandName) {
CarBrandName = carBrandName;
}
public int getCarTyreCount() {
return CarTyreCount;
}
public void setCarTyreCount(int carTyreCount) {
CarTyreCount = carTyreCount;
}
public double getCarCost() {
return CarCost;
}
public void setCarCost(double carCost) {
CarCost = carCost;
}
}