title: Java - Create a "many-to-many"-relation between 2 classes
body: <p>I will try to explain my problem based on an example:</p>
  
  <p>We have one class called "<strong>Car</strong>", and one called "<strong>Worker</strong>". </p>
  
  <p>One car gets build by multiple workers, while one worker has built multiple cars.</p>
  
  <p><strong>My question is:</strong></p>
  
  <p>How do I create some kind of "many-to-many"-relationship between those two classes, like commonly used with databases, WITHOUT importing any library except for
  the java.lang.* and java.io.* packages, which means that "List" is thereby excluded, because it is in java.util.*</p>
  
  <p>Thanks in advance :)</p>
  
  <hr>
  
  <p><strong><em>Edit for further explaination:</em></strong></p>
  
  <p>In databbases, you normally have a third table to split this "m-t-m"-relationship, so I thought at something like this on my picture. 
  <a href="https://i.stack.imgur.com/fRoNb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fRoNb.png" alt="enter image description here"></a>
  Would this be possible?</p>