Pea : flowers of pea plants are bisexual, monoecious/self-pollinated (to produce pods with viable seeds.)
Detailed Answer :
Pea plant bears bisexual flowers. Therefore, the single pea plant can produce viable seeds after self-pollination. Papaya, on the other hand, is a dioecious plant, bearing unisexual flowers that require cross-pollination for viable seed production. Thus, they cannot produce viable seed production. thus, they cannot produce viable seeds.