public Compte(Client titu, MAD s) { this.numCpt = cpt++; this.titulaire = titu; this.solde = s; }
public bool supPLAFOND(MAD somme) { return(this.valeur >= somme.valeur); }
static Compte() // Constructeur statique, on ne peut pas l'appeler, sert à initialiser tt les attributs statiques de la classe { cpt = 0; plafond = new MAD(30000); }