Does this meet your question?
public static void main(String[] args) {
Student[] studentarr = new Student[5];
for(double i = 0; i < 5; i++);
{
studentarr[i] = new Student(params...);
}
studentarr[0].someStudentMethod();
}
solved (JAVA) I need help creating a class with getters and setters, creating a class with an array and then calling upon the other class. [closed]