In his study of pea plants, Gregor Mendel used which method to produce offspring?

In his study of pea plants, Gregor Mendel used which method to produce offspring?
a.cross-pollination, by using parents that had identical traits
b.cross-pollination, by using parents that had different traits
c.self-pollination, by using one parent
d.random pollination, by using both identical- and different-trait matings