Delete X.java (useless, it was for the git learning TD)
This commit is contained in:
parent
240c25105e
commit
36b2354631
37
X.java
37
X.java
@ -1,37 +0,0 @@
|
||||
public class X {
|
||||
private String nom;
|
||||
private String prenom;
|
||||
|
||||
|
||||
public X() {
|
||||
this.nom = null;
|
||||
this.preom = null;
|
||||
}
|
||||
|
||||
public X(String s1, String s2) {
|
||||
this.nom = s1;
|
||||
this.prenom = s2;
|
||||
}
|
||||
|
||||
public getNom() {
|
||||
return this.nom;
|
||||
}
|
||||
|
||||
public getPrenom() {
|
||||
return this.prenom;
|
||||
}
|
||||
|
||||
public setNom(String s) {
|
||||
this.nom = s;
|
||||
}
|
||||
|
||||
public setPrenom(Sting s) {
|
||||
this.prenom = s;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "La personne s'appelle " + this.prenom + " " + this.nom;
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user