Four friends, A, B, C, and D, have different pets: a dog, a cat, a bird, and a fish. A does not have a bird. B has a pet that is not a cat. C has a pet that is not a dog. D has a fish. Which pet does A have?

Answer: B. Cat
A cannot have a bird (clue 1) and D has a fish (clue 4). Since B does not have a cat (clue 2), B must have a dog. Therefore, A must have a cat.