public class Matiere { private int numero; private java.lang.String intitule; /* ** Constructeur */ public Matiere (int numero, java.lang.String intitule) { this.intitule = intitule; this.prix = prix; } /* ** Accesseur pour numero */ public int getNumero() { return this.numero; } /* ** Mutateur pour numero */ public void setNumero(int n) { this.numero = n; } }