I am attempting a problem in my second computer science course. I am very confused at the moment. Any help would be appreciated.
"Create class Sess. A Sess object is to contain a reference to a Pupil object, a reference to a Tutor object and an additional attribute that refers to the date and time of an appointment between the tutor and the pupil. Write a tester that creates several Tutor objects, several Pupil objects, and several Session objects. Your tester should demonstrate that from a reference to a session you can display the data about the pupil and the tutor associated with the given visit. (You can use each of your Tutor objects and each of your Pupil objects for several Session objects.) "
I already have made the Pupil and Tutor classes. First of all, how do I create an object that contains a reference?
* I am currently reading information from this link:
Sess object1 = new Sess();
Pupil object1 = new Pupil();