title: How many Unboxings are taking place?
body: <p>This is my code:</p>
  
  <pre><code>Integer x=5;
  int y=x+x;
  System.out.println(y);
  </code></pre>
  
  <p>And my question is simple. On the first line there's obviously one boxing taking place. But on the next line, are there two unboxings taking place or one? What my question practically means is: Do the two Integer instances x get unboxed, added, and then stored on the int y variable, or the two Integers are added as Integer instances and then the result is unboxed and stored?
  P.S. Note that the code above doesn't serve a purpose other than helping me understand the concept of unboxing. 
  Thanks a lot for your time!</p>