1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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