Four friends, A, B, C, and D, have different pets: a dog, a cat, a bird, and a fish. A does not have a dog or a fish. B has a cat. C does not have a bird. What pet does D have?
There are four animals: a dog, a cat, a rabbit, and a parrot. The dog is not a mammal, the cat is a mammal, the rabbit is a mammal, and the parrot is a bird. Which of the following is true?