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

cross-pollination, by using parents that had identical traits
cross-pollination, by using parents that had different traits
self-pollination, by using one parent
random pollination, by using both identical- and different-trait matings

cross-pollination, by using parents that had different traits