Ajout des fichier exo 0
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
public class MonMaillon {
|
||||
private Base base;
|
||||
private MonMaillon next;
|
||||
|
||||
public MonMaillon(Base b, MonMaillon suivant) {
|
||||
this.base = b;
|
||||
this.next = suivant;
|
||||
}
|
||||
|
||||
public Base getBase() {
|
||||
return base;
|
||||
}
|
||||
|
||||
public MonMaillon getNext() {
|
||||
return next;
|
||||
}
|
||||
|
||||
public void setNext(MonMaillon n) {
|
||||
this.next = n;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user