First Example:
Let's assume I have a two classes : Employee and Division.
the (bidirectional) relationship between the classes is :
An employee works in one division [OneToOne] and any given division has one or more employees working in it. [OneToMany]
===========
Second Example:
Let's assume I have a two classes again : Employee and Task
the (bidirectional) relationship between the classes is :
An employee is assigned one or more tasks [OneToMany] and each task is assigned to zero or more employees[ManyToOne]
but this site : http://www.agiledata.org/essays/mappingObjects.html#TypesOfRelationships says the fist relationship is OneToMany and the second is ManyToMany
So Where I'm getting this wrong. I don't see any use for a ManyToMany Relationship
PS: I've read this Difference Between One-to-Many, Many-to-One and Many-to-Many?