Ok,
I don't want to much help but I need a push. I am supposed to write a
program with 3 classes:
1. Controlling class
2. Student class
3. Grades class
Controlling class instantiates a student ( I need 5 of these) object and
gives it a name and studentID. Then I need to create a Grades object that
goes with the student that holds 5 grades.
So far I have the Controller creating the student and then in the student
constructor I create the grades object. How do I talk to the grades object
from the Controller?
Any help would be greatly appreciated.
I don't want to much help but I need a push. I am supposed to write a
program with 3 classes:
1. Controlling class
2. Student class
3. Grades class
Controlling class instantiates a student ( I need 5 of these) object and
gives it a name and studentID. Then I need to create a Grades object that
goes with the student that holds 5 grades.
So far I have the Controller creating the student and then in the student
constructor I create the grades object. How do I talk to the grades object
from the Controller?
Any help would be greatly appreciated.
Comment