Init de mon dépôt

This commit is contained in:
2025-10-07 16:36:41 +02:00
commit 7fa42bad8d
10 changed files with 4397 additions and 0 deletions

29
pakeje/Responsable.java Normal file
View File

@@ -0,0 +1,29 @@
package pakeje;
import java.util.ArrayList;
public class Responsable extends Technicien {
private ArrayList<Technicien> listeSupervisions;
public Responsable() {
super();
listeSupervisions = new ArrayList<>();
}
public Responsable(String n, int ae) {
super(n, ae);
listeSupervisions = new ArrayList<>();
}
public void afficherInfos() {
System.out.println("~~~~~~~~~~~~~~~ Responsable ~~~~~~~~~~~~~~~");
System.out.println(" Nom : " + getNom());
System.out.println(" Années d'xp : " + getAnneesExperience());
System.out.println(" Nombre de supervisions : " + listeSupervisions);
System.out.println("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
}
public void ajouterSupervisionBenite(Technicien supervisions) {
listeSupervisions.add(supervisions);
}
}