I'm writing a code that is using ArrayList
this is the part that is giving me the error. There are several instancses of this error but I figure that if I can get once fixed I can fix them all.
ArrayList <Student> studentList = new ArrayList <Student>();
ArrayList <Course> courseList = new ArrayList <Course>();
if(studentExists(s.getStudentID()) != -1)
it gives me this error
E:\Registration.java:32: cannot find symbol
symbol : method getStudentID()
location: class java.lang.Object
if(studentList.get(i).getStudentID().equals(str))