-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPersonne.java
More file actions
48 lines (42 loc) · 849 Bytes
/
Copy pathPersonne.java
File metadata and controls
48 lines (42 loc) · 849 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
package com.devoir.classes;
public class Personne {
protected String nif;
protected String nom;
protected String prenom;
protected String adresse;
public Personne() {
super();
// TODO Auto-generated constructor stub
}
public Personne(String nif, String nom, String prenom, String adresse) {
super();
this.nif = nif;
this.nom = nom;
this.prenom = prenom;
this.adresse = adresse;
}
public String getNif() {
return nif;
}
public void setNif(String nif) {
this.nif = nif;
}
public String getNom() {
return nom;
}
public void setNom(String nom) {
this.nom = nom;
}
public String getPrenom() {
return prenom;
}
public void setPrenom(String prenom) {
this.prenom = prenom;
}
public String getAdresse() {
return adresse;
}
public void setAdresse(String adresse) {
this.adresse = adresse;
}
}