Coconut palm is monoceious,while date palm is dioecious.Why are they called so?

Incoconur palm, both male and female flowers may be present on the same individual whereas in date plam,both male and female flowers may present on the separarate individuals.