In a group of five friends: Alice, Bob, Charlie, David, and Eva, only those who have a pet cat can attend the party. Alice and Bob have cats, Charlie has a dog, David has a cat, and Eva has no pets. Who can attend the party?
Answer: B. Alice, Bob, and David
Only Alice, Bob, and David have cats, which meets the condition for attending the party.