01-19-2017, 04:15 PM
I have 2 Objects one called etudiant and second called resultat
i have some etudiant objects stocked in a text file as objects while trying to read them and stock them in an arraylist i get an error java.lang.ClassCastException: projet.Etudiant cannot be cast to java.util.ArrayList
any idea why i can't cast it to arraylist ?[/hide]
[/hide]
Hidden Content
Hidden Content
i have some etudiant objects stocked in a text file as objects while trying to read them and stock them in an arraylist i get an error java.lang.ClassCastException: projet.Etudiant cannot be cast to java.util.ArrayList
any idea why i can't cast it to arraylist ?[/hide]
[/hide]