CCB Premier Import

This commit is contained in:
Christian Cunat-Brulé
2018-07-23 10:52:48 +02:00
commit f55475a23f
765 changed files with 209793 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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 ) ;
}
}