Hi,
I have a class Dog which derives from Animal. Suppose my instance of
Dog is bulldog. bulldog has all the members of Animal plus Dog. How
can copy just the members from Dog to a new Dog called boxer? Just get
the Dog members from bulldog and leave out any inherited members from
Animal.
Dog bulldog=new Dog(); <-has inhereited members from Animal
Dob boxer = bulldog - inherited Animal members
How can I do this?