title: Assign method in Scala
body: <p>When this code is executed:</p>
  
  <pre><code>var a = 24
  var b = Array (1, 2, 3)
  a = 42
  b = Array (3, 4, 5)
  b (1) = 42
  </code></pre>
  
  <p>I see three (five?) assignments here. What is the name of the method call that is called in such circumstances?
  Is it operator overloading?</p>
  
  <p><strong>Update:</strong><br>
  Can I create a class and overload assignment? ( x = y not x(1) = y )</p>