Is papaya plant dioecious or monoecious?

Papayas come as male, female, and hermaphrodites. So the species is both dioecious and monoecious. The fruit we eat come from hermaphrodites. This is a challenge for farmers because when they plant the trees, they do not know for quite some time whether it is male, female, or hermaphroditic. Work is ongoing to help quickly identify a sex of a plant at an earlier stage.