salut !
tout est dans le sujet...
int b = 1;
	boolean a = (boolean)b;
	boolean c = true;
	int d = (int)c;
Z:\mai_rezo.java:15: inconvertible types
found   : int
required: boolean
        boolean a = (boolean)b;
Z:\mai_rezo.java:17: inconvertible types
found   : boolean
required: int
        int d = (int)c;
Merci !
ps : revenir au java apres 2 ans c'est dur :).
Forum Programmation.java [n00b] caster un int en boolean et inverse ?
21
sept.
2005