public class StudentsRunner2{
public static void main(String[] args){
//insert the line of code needed to create the Student object aStudent;
String teacher;
for (int i =0 ;i < 5; i++)
{
teacher= inputString("Enter a teacher");
aStudent.addTeacher(teacher);
}
}
}
1) Construct the Java statement to create the Student object called aStudent in the
StudentsRunner
2)
Back to the Student Class