> annaStudent.studentRecord.setName("Anna");
// You have to initialise studentRecord before acessing it. Example:
annaStudent.studentRecord=new StudentRecord();
// Then you can access studentRecord like you did above.

--~--~---------~--~----~------------~-------~--~----~
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