Vous êtes sur la page 1sur 1

CHAPITRE 2: LES ÉLÉMENTS DE BASE DU LANGAGE JAVA

Variables

Déclaration et initialisation :

Ty p e i d e n t i f i c a t e u r = e x p r e s s i o n ;

Exemples:

int m=1;
int p=5, q=0;
double x=0.1, y=3.0, z;

19

Vous aimerez peut-être aussi