public boolean remove(Student student) { if(student==null) { return false; } else { students.remove(student); return true; } }