Page 365 - IT2
P. 365

this.nombreDesGroupes = nombreDesGroupes;
                }
               public int getNombreDeFormateur() {
                  return nombreDesFormateurs;
               }
            }

            import java.util.*;
            public class EfpEnPrison extends Efp {
               private String nomDeResponsableDeFormation;
               private String nomDePrison;
               private int nombreDesFormateurs;
               public EfpEnPrison(String nomDeResponsableDeFormation, String nomDePrison, int
            nombreDesFormateurs, int id, int nom, int adresse, int ville, int telephone, int nombreDesStagiaires) {
                    super(id, nom, adresse, ville, telephone, nombreDesStagiaires);
                    this.nomDeResponsableDeFormation = nomDeResponsableDeFormation;
                    this.nomDePrison = nomDePrison;
                    this.nombreDesFormateurs = nombreDesFormateurs;
                }
                  public int getNombreDeFormateur() {
                  return nombreDesFormateurs;
               }
            }

           import java.util.*;
           public class UniteMobile extends Efp {
              private String nomDeFormateur;
               public UniteMobile(String nomDeFormateur, int id, int nom, int adresse, int ville, int telephone, int
           nombreDesStagiaires) {
                   super(id, nom, adresse, ville, telephone, nombreDesStagiaires);
                   this.nomDeFormateur = nomDeFormateur;
               }
              public int getNombreDeFormateur() {
                   return 1;
              }}











                                        www.itlearning-settat.com

                                  Email: admission@itlearning-settat.com

                                                  Tél.:0661077812
   360   361   362   363   364   365   366   367   368   369   370