Three friends - X, Y, and Z - have different pets: a Dog, a Cat, and a Bird. X does not have a Dog. Y has a Cat. What pet does Z have?

Answer: C. Bird
Since Y has a Cat and X does not have a Dog, Z must have the Bird.