Is corn monoecious or dioecious?

Corn is monoecious, as each plant contains both male and female flowers.