Hi all,

in this homework we need to create a class like this:

Write MyClassToBePersisted.java, which contains the following
properties :
Profile field, which has the following fields
    String name
    int age
    String hobby
School field, which has the following fields
    String nameOfSchool
    int yearStarted (this is transient field)

My question is how do you sugest to create it: with 2 Arraylist , with
2 object variables (2 variables that holds references to a "Profile "
objet and a "School" object, or you use inner classes?

Best regards,
Adrian



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