Utilizzo arraylist..
Se faccio:
System.out.println(array.get(0));
Non mi dà alcun problema....ma se voglio memorizzare l'intero in una variabile ho un errore:
int n = array.get(0);
:bubu: Ovviamente prima di tutto ho fatto:
array.add(new Integer (3));
:bubu: :bubu: :bubu: :bubu: :bubu: help!