A green-seeded pea plant and a yellow-seeded pea plant have offspring with all yellow seeds. What is the most likely reason?

A.
The genes from the yellow-seeded parent were recessive.

B.
The genes from the yellow-seeded parent were dominant.

C.
The offspring inherited more genes from the yellow-seeded parent.

D.
The offspring only inherited genes from the yellow-seeded parent.

B. The genes from the yellow-seeded parent were dominant.