When you say 'properties' do you just mean you want to be able to add both Cats and Dogs to an array?
To do this you must ensure that the array will take objects that are a common parent of both the Cat and Dog class. So either these classes must inherit from a common base class (such as 'Animal') or you will have to use the Object class, which is the base class of all classes.
/- Sam Judson : Wrox Technical Editor -/
|