B, oysters and squid belong to mollusks, and B is correct;
C. Lobsters and hairy crabs belong to crustaceans, and C is wrong;
D, abalone belongs to mollusk, jellyfish belongs to coelenterate, D is wrong;
So choose: B.