On 14 sept. 10, at 00:07, Fernando Aguada wrote:

Hello all,

sorry for my English, but I do not understand. The exercise says:

Create a Student class as following:
The Student class has StudentRecord class as an instance variable. Name it as studentRecord. You can use the StudentRecord class from the MyStudentRecordExampleProject above or you can create a new one - the only requirement is that it has to have at least one instance variable of its own. The Student class has studentId instance variable whose type is Integer type. Move the studentCount static variable from the StudentRecord class to Student class.
I create a class Student? and other class studendRecord?
You have to create a Student class as explained above.
You don't have to create a StudentRecord class, it already exists in the project which serves as base for the homework. You instantiate a StudentRecord variable in the Student class as you would for any other variable (think of a String variable for example).

Michèle Garoche

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to