-
Notifications
You must be signed in to change notification settings - Fork 0
/
Bootcamp.java
34 lines (26 loc) · 1.02 KB
/
Bootcamp.java
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
public class Bootcamp extends Career {
private String instructor;
private String period;
public Bootcamp(int id, String position, String deadline, Company company, String description,
Technology technology, String instructor, String period) {
super(id, position, deadline, company, description, technology);
this.instructor = instructor;
this.period = period;
}
public String getInstructor() {
return instructor;
}
public void setInstructor(String instructor) {
this.instructor = instructor;
}
public String getPeriod() {
return period;
}
public void setPeriod(String period) {
this.period = period;
}
@Override
public String toString() {
return "Bootcamp [id=" + getId() + ", position=" + getPosition() + ", deadline=" + getDeadline() + ", company=" + getCompany() + ", description=" + getDescription() + ", technology=" + getTechnology() + ", instructor=" + instructor + ", period=" + period + "]";
}
}