package note; public class Matiere { private CumulNotes notes; private float coeff; public Matiere(float c) { coeff = c; notes = new CumulNotes(); } public void setNotes(CumulNotes notes) { this.notes = notes; } public CumulNotes getNotes() { return notes; } public void setCoeff(float coeff) { this.coeff = coeff; } public float getCoeff() { return coeff; } public String toString() { return "Coefficient : "+coeff+"\n"+notes.toString(); } }