title: Why does this output remain unchanged after returning to the main?
body: <p><a href="https://i.stack.imgur.com/ESaax.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ESaax.png" alt="enter image description here"></a></p>
  
  <p>Since it passed the object myOtherSample by reference and made it point to the object s2, shouldn't the output become: 4 4.95 4 0 ?</p>