T
Tony Johansson
Hello!
Assume I have a inheritande tree that looks like this.
I have Animal as the abstract superclass below this I have these abstract
classes
Mammal,Bird, Insect,Marine and Reptile.
The specific classes are for Mammal are Cat and Dog.
The specific classes are for Bird are Eagle and Pelican.
The specific classes are for Insect are Gnat and Fly.
The specific classes are for Marine are StoneFish and GoldFish
The specific classes are for Reptile are Snage and Frog .
So my question is if it's poosible to find the specific classes from this
inheritance tree.
So my goal is to get these classes(Types) Cat, Dog, Eagle, Pelican, Gnat,
Fly,StoneFish, GoldFish, Snake and Frog.
So if I would add a new Specific animal to the Bird class I should get that
class as well.
//Tony
Assume I have a inheritande tree that looks like this.
I have Animal as the abstract superclass below this I have these abstract
classes
Mammal,Bird, Insect,Marine and Reptile.
The specific classes are for Mammal are Cat and Dog.
The specific classes are for Bird are Eagle and Pelican.
The specific classes are for Insect are Gnat and Fly.
The specific classes are for Marine are StoneFish and GoldFish
The specific classes are for Reptile are Snage and Frog .
So my question is if it's poosible to find the specific classes from this
inheritance tree.
So my goal is to get these classes(Types) Cat, Dog, Eagle, Pelican, Gnat,
Fly,StoneFish, GoldFish, Snake and Frog.
So if I would add a new Specific animal to the Bird class I should get that
class as well.
//Tony