title: Can someone explain this code to me? mystery parameters
body: <p>I am having trouble figuring out how to read this code, I would appreciate it if someone could please explain it to me.
  Thank you in advance</p>
  
  <pre><code>public class ParameterMystery {
  
      public static void main(String[] args) {
          int x = 9;
          int y = 2;
          int z = 5;
  
          mystery(z, y, x);
  
          mystery(y, x, z);
      }
  
  
  
      public static void mystery(int x, int z, int y) {
          System.out.println(z + " and " + (y - x));
      }
  }
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>2 and 4
  
  9 and 3 
  </code></pre>