Unisexual / Dioecious male and female flowers are borne on separate plants, only plants bearing female flowers will bear fruits. Monoecious (hermaphrodite)papaya plants bear fruit too.
Detailed Answer :
Papaya has both dioecious and monoecious plant,s bearing unisexual or bisexual flowers. They can occur in three sexual forms-male, female and hermaphrodites. A fruit is formed when fertilization occurs in the ovary of the female flower. So, if a female or a male plant is growing alone, it will produce flowers but it will not produce fruits as both male and female is required for fruit formation. However, hermaphrodite papaya plant will always bear fruits as their flowers contain both male and female parts.