package generique;

public class CoupleMain
{
    public static void main (String args[])
    {
   	 Integer oi1 = new Integer (3) ;
   	 Integer oi2 = new Integer (5) ;
   	 Couple <Integer> ci  = new Couple (oi1, oi2) ;
   	 ci.affiche () ;

   	 Couple <Double>  cd = new Couple <Double>  (2.0, 12.0) ;
   	 cd.affiche() ;
   	 Double p = cd.getPremier () ;
   	 System.out.println ("premier element du couple cd = " + p ) ;
    }
}