Tu peux mettre ton println n'importe où. Ton problème là c'est que les variables locales sont locales à une méthode, donc main il va pas aller magiquement inventer un "laListe" qui n'existe pas, le compilo va juste te dire qu'il sait pas de quoi tu parles.
Message édité par masklinn le 18-09-2015 à 16:46:10
---------------
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 by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?