Hi.guess I should ask the question another way.
If I must implement a person class.In the person class I must implement a child, teenager, grownup. I then have characteristics that each have. I then decide to put them in an enumeration as follows
|
Enum characteristics {a,b,c,d,e,f,g,h,I};
|
A, b and c can be a child.
D, e and f can be a teenager.
G, h, I can be a grownup.
All three, child, teenager and grownup are also classes which inherit from person.
How will the Person class look like.
The problem I have is that all three are also classes of their own.
Please help please.
Thanks in advanced.