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

31
pakeje/Amphi.java Normal file
View File

@@ -0,0 +1,31 @@
package pakeje;
public class Amphi extends Salle {
private int hauteurSousPlafond;
public Amphi() {
super();
hauteurSousPlafond = 0;
}
public Amphi(int hsp) {
super();
hauteurSousPlafond = hsp;
}
public void afficherInfos() {
System.out.println("Amphi :");
super.afficherInfos();
System.out.println("Hauteur sous plafond : " + hauteurSousPlafond);
}
public int getHauteurSousPlafond() {
return hauteurSousPlafond;
}
public void setHauteurSousPlafond(int hauteurSousPlafond) {
this.hauteurSousPlafond = hauteurSousPlafond;
}
}