I'm currently working on java project and I can't think solution for this problem. I have class called Student and its constructor has paramaters. Here's the code public Student(int id, String name, String lastname, String password, int rocnik, String degree, String group, ArrayList<String> predmety)
. I have text file that looks just like this
560269 Marek Magula 23Ta3 1 bc 5ZYS11 Matematika,Informatika,Algebra; 558254 Michael Holy tarhona 1 bc 5ZYS12 Algebra,Anglictina,Informatika;
It's textfile with student information. It will have more rows but I showed just 2 for illustration.In my other class called GUI I created method
public boolean authentificate() {
return false;
}
For start I need to read the text file and create instance of Student for each row. Also wouldn't it be easier to do if I put those data from textfile to excel table?