masklinn í dag viðrar vel til loftárása | Funkyfonk a écrit :
Je voudrais récupérer mon entier, ce code passe à la compilation mais il y a une erreur à l'execution. D'après mes testes, le cast pour récupérer la chaine avant de la reconvertir en entier ne fonctionne pas.
x=Integer.parseInt("56543" );
liste.add(i,x);
machaine=(String)(liste.get(i));
//y=Integer.parseInt(machaine);
|
Tu balances pas trop une chaîne dans ta liste là hein
Si t'es en Java5 au mieux tu balances un objet de type Integer, si t'es pas en Java5 je sais même pas ce qu'il fait ![[:pingouino] [:pingouino]](https://forum-images.hardware.fr/images/perso/pingouino.gif) ---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box, and replicate and expand beyond their wildest dreams by throwing away the limits imposed by overbearing genetic r
|