The add method was ok as it was except maybe you'd want to put it like this
public void addStudent()
{
students[length] = new Student();
length++;
}
It was your...
Type: Posts; User: samfin
The add method was ok as it was except maybe you'd want to put it like this
public void addStudent()
{
students[length] = new Student();
length++;
}
It was your...
With this line:
System.out.println("Student Name:" + student.getFirstName() +" "+ student.getLastName() + " Enrollment on:" + student.getEnrollmentDate());
Your calling the Student methods on...
What is the problem you're having with the code, the methods and constructor you mention are in there. Are they not working as expected?