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 pet that is not a bird. C has a pet that is not a cat. What pet does D have?
Answer: B. Cat
Since A cannot have a dog or fish, A must have the cat. B cannot have a bird, so B must have the dog. C cannot have a cat, so C must have the bird. Therefore, D has the fish.