codice:while ((linea = reader.readLine()) != null) { System.out.println(linea); while (st.hasMoreElements()){ nome = st.nextElement().toString(); cognome = st.nextElement().toString(); matricola = st.nextElement().toString(); } studente = new Studente (nome, cognome, matricola); elencoStudenti.add(studente); linea = reader.readLine(); }