-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKisi.java
More file actions
89 lines (74 loc) · 1.7 KB
/
Kisi.java
File metadata and controls
89 lines (74 loc) · 1.7 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package bankaodevi;
/**
*
* @author 123
*/
public class Kisi {
private String ad;
private String soyAd;
private String eMail;
private int telefonNumarasi;
public Kisi(String ad, String soyAd, String eMail, int telefonNumarasi){
this.ad=ad;
this.soyAd=soyAd;
this.eMail=eMail;
this.telefonNumarasi=telefonNumarasi;
}
@Override
public String toString(){
return("ad -"+ getAd()+ "\nsoyad - "+ getSoyAd()+ "\nemail - " + geteMail() + "tel no: \n" +getTelefonNumarasi());
}
/**
* @return the ad
*/
public String getAd() {
return ad;
}
/**
* @param ad the ad to set
*/
public void setAd(String ad) {
this.ad = ad;
}
/**
* @return the soyAd
*/
public String getSoyAd() {
return soyAd;
}
/**
* @param soyAd the soyAd to set
*/
public void setSoyAd(String soyAd) {
this.soyAd = soyAd;
}
/**
* @return the eMail
*/
public String geteMail() {
return eMail;
}
/**
* @param eMail the eMail to set
*/
public void seteMail(String eMail) {
this.eMail = eMail;
}
/**
* @return the telefonNumarasi
*/
public int getTelefonNumarasi() {
return telefonNumarasi;
}
/**
* @param telefonNumarasi the telefonNumarasi to set
*/
public void setTelefonNumarasi(int telefonNumarasi) {
this.telefonNumarasi = telefonNumarasi;
}
}