-
Notifications
You must be signed in to change notification settings - Fork 0
/
mytellerclass.java
52 lines (39 loc) · 970 Bytes
/
mytellerclass.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
public class mytellerclass {
private boolean myfreebank;
private int cust;
private int tel;
private long finish;
public mytellerclass() {
myfreebank = true;
cust = 0;
tel = 0;
finish = 0;
}
public int getCust() {
return cust;
}
public void setCust(int cust) {
this.cust = cust;
}
public int getTel() {
return tel;
}
public void setTel(int tel) {
this.tel = tel;
}
public boolean isbankfree() {
return myfreebank;
}
public void isBankFree(boolean myfreebank) {
this.myfreebank = myfreebank;
}
public long getFinish() {
return finish;
}
public void setFinish(long finish) {
this.finish = finish;
}
public String toString() {
return "Customers helped: " + cust + "\n" + " in seconds " + tel;
}
}