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 cat. B has a bird. C has a fish. Who has the dog?

Answer: D. D
Since A does not have a dog or a cat, and B has a bird, C has a fish, D must have the dog.