title: Assign Variable to another Variable and have changes in one be mirrored in the other
body: <p>Is it possible to assign a variable to another variable and when you change the second variable the change waterfalls down to the first variable?</p>
  
  <p>Like this.</p>
  
  <pre><code>int a = 0;
  int b = a;
  b = 1;
  </code></pre>
  
  <p>now both b and a would = 1.</p>
  
  <p>The reason I ask this is because I have 4 objects I'm keeping track of, and I keep track of each using a 5th object called currentObject that equals whichever of the 4 objects the user is using. However, I would like to just make a change to the currentObject and just have it waterfall to the variable it came from.</p>
  
  <p>Thanks</p>