In the F2 generation of Mendel’s crosses,
A: all plants had the dominant trait
B: half of the plants had the dominant allele
C: all plants had both the dominant and recessive alleles
D: one in four plants had two alleles for the recessive trait