In the Student class I set up the constructor as follows:
/**Creates a new instance of Student*/
public Student(){
this.studentRecord = new StudentRecord();
}//Student constructor
This means when I instantiate a new Student object that it will
inherit all the characteristics and behaviors (fields and methods) of
the StudentRecord class?
My program is working but I just wanted to make sure what I was
thinking is correct.
Best,
Alex
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---