Hi,
Could anyone tell me if my interpretation of and logic for
homework lab 1014 is correct:
1. Student class should have StudentRecord class as an
instance variable ( private StudentRecord studentrecord = new
StudentRecord();)
2. private int studentId and getstudentId() methods
3. private Static int studentCount and getStudentcount() and
increaseStudentCount() methods.
1. I have left StudentRecord class unmodified except for moving
studentcount and its methods
and do name and grade fields and their respective methods
still have to be accessed frm StudentRecord class?
Plase if sum1 could make things a bit clear
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---