/** Java class "Gerant.java" generated from Poseidon for UML. * Poseidon for UML is developed by Gentleware. * Generated with velocity template engine. */ package adherents; import adherents.Adherent; import java.util.*; /** *
* *
*/ class Gerant { /////////////////////////////////////// // operations /** ** Does ... *
* *
* * @param args ... *
*/ public static void main(String[] args) { // your code here Adherent a1=new Adherent(1,"Dupont","Paris",1980); Adherent a2=new Adherent(2,"Meyer","Strasbourg",1955); Adherent a3=new Adherent(3,"Legwenn","Brest",1960); System.out.println (a1); System.out.println (a2); System.out.println (a3); System.out.println (); a1.cotiser(45); System.out.println (a1); System.out.println (a2); System.out.println (a3); System.out.println (); a2.cotiser(30); System.out.println (a1); System.out.println (a2); System.out.println (a3); System.out.println (); a3.cotiser(40); System.out.println (a1); System.out.println (a2); System.out.println (a3); System.out.println (); a2.cotiser(15); System.out.println (a1); System.out.println (a2); System.out.println (a3); } // end main } // end Gerant