G
Guest
I'm trying to get my head around objects and am asking for thoughts on this
idea.
If for example I were to implement a Person Object, there may be differnt
Person objects representing people of different cultures.
All Person objects have similar characteristics, ie Height, Weight, Age ect
but I imagine that there could be a method ie SayHello which Person objects
of different cultures would implement differently.
Now what i'm trying to figure out is whether the Person Class should be
abstract to cope with different cultures or whether I should create an
interface or both.
Thoughts and comments appreciated.
Regards
Wayne Phipps
idea.
If for example I were to implement a Person Object, there may be differnt
Person objects representing people of different cultures.
All Person objects have similar characteristics, ie Height, Weight, Age ect
but I imagine that there could be a method ie SayHello which Person objects
of different cultures would implement differently.
Now what i'm trying to figure out is whether the Person Class should be
abstract to cope with different cultures or whether I should create an
interface or both.
Thoughts and comments appreciated.
Regards
Wayne Phipps