public class TesteCompte {
public static void main(String[] args) {
Compte C1,C2;
C1 = new Compte();
C2 = new Compte();
C1.Deposer(5000);
C2.Deposer(1000);
C2.Retirer(100);
C1.Virment(C2,750);
System.out.println("Compte N1:"+C1.ToString()+"\nCompte N2:"+C2.ToString());
}
}
[/color]
:ezy: :ezy: :ezy: :ezy: :ezy: :ezy: :ezy: