title: returning a value from a method to another method
body: <p>Can somebody tell me why the value returned is 3 and not 8. Doesn't the <code>return x</code> statement from the <code>addFive</code> method change the value of <code>x</code> in the <code>main</code> method?</p>
  
  <pre><code>public class App {
      public static void main(String[] args) {
          int x=3;
          addFive(x);
          System.out.println("x = " + x);
      }
  
      private static int addFive(int x) {
          x += 5;
          return x;
      }
  }
  </code></pre>