Académique Documents
Professionnel Documents
Culture Documents
TP4 Java
TP4 Java
T RAVAUX P RATIQUES
—————–
TP4
Lahoucine Ballihi
Université Mohammed V de Rabat
Faculté des Sciences de Rabat
Département Informatique
LRIT (Laboratoire de Recherche en Informatique et
Télécommunications)
B.P 1014 Rabat - Maroc
Phone : + 212 (0) 5 37 68 69 44
Fax : + 212 (0) 5 37 68 69 44
E-mail: l.ballihi@um5r.ac.ma
1
TABLE DES MATI ÈRES
1 TP4 3
1.1 Polymorphisme et architecture ouverte . . . . . . . . . . . . . . . . . . . 3
1.2 Exemples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Exemples
— f (x, y) = x + 2 ∗ y
— g(x, y, z) = x2 + y2 + z2
— k(x) = sin2 x + cos2 x
— h(x) = sin(x) + 5
2 Application & Exercices