title: About uml class diagram, how to put array as attribute
body: <p>What I would like to ask is that if one class has a variable of array, should I include it as attribute along with the association or only the association?</p>
  
  <p>So, for example, if I want to draw a simple diagram about association between professor and lecture, which side would be correct (Upper one or the lower one)?
  - Lecture may have more than one instructor</p>
  
  <p><a href="https://i.stack.imgur.com/63Tso.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/63Tso.png" alt="enter image description here"></a></p>