mise à jour

This commit is contained in:
2025-12-09 21:25:47 +01:00
parent b4273e9272
commit df9520821a
20 changed files with 181 additions and 17 deletions

14
TP1/Liaison.java Normal file
View File

@@ -0,0 +1,14 @@
public class Liaison{
private Station debut;
private Station fin;
private Ligne ligne;
public Liaison(Station s1,Station s2,Ligne l){
this.debut = s1;
this.fin = s2;
this.ligne = l;
}
public String toString(){
return this.debut+" -> "+this.fin;
}
}