livretJava
Pôle Informatique -
cours Fauriel
Saint-Étienne Cedex
Gauthier Picard gauthier.picard@emse.fr Institut Henri Fayol, ENSM.SE
Laurent Vercouter laurent.vercouter@insa-rouen.fr LITIS, INSA Rouen
Table des matières
Introduction au langage Java
. Environnement Java . . . . . . .
..
Compilation . . . . . .
..
Interprétation . . . . . .
. Programmation orientée-objet
..
Classe . . . . . . . . . .
..
Objet . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Syntaxe du langage
. Types de données . . . . . . . . . . . . .
..
Types primitifs . . . . . . . . . .
..
Tableaux et matrices . . . . . . .
..
Chaînes de caractères . . . . . .
. Opérateurs . . . . . . . . . . . . . . . . .
. Structures de contrôle . . . . . . . . . . .
..
Instructions conditionnelles . .
.. Instructions itératives . . . . . .
.. Instructions break et continue
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Éléments de programmation Java
. Premiers pas . . . . . . . . . . . . . . . .
..
Classe HelloWorld . . . . . . . .
..
Packages . . . . . . . . . . . . . .
. Variables