Get Started. It's Free
or sign up with your email address
Animal Class by Mind Map: Animal Class

1. Feline

1.1. Lion

1.2. House Cat

2. Canine

2.1. Dog

2.2. Wolf

3. House Pet Interface

4. Both house cats and dogs can implement the house pet interface which gives them abstract methods that only house pets would have.

5. Equine

5.1. Horse

5.2. Donkey

6. All horses are animals, but not all animals are horses. Therefore, horses are subclasses of animals in this is-a relationship.

7. The animal class acts as the superclass and has methods that all subclasses, or animals, can access