@@ -0,0 +1,805 @@
+/*Programmer: Kristoffer Larson%0A *Date: April 21, 2014%0A *%0A *Description: Using side effects of parameter evaluation to%0A * detect order parameters are evaluated in when passing them%0A * into a method.%0A */%0A%0Apublic class EvaluationOrder %0A%7B%0A   public static void subroutine(int a, int b, int c)%0A   %7B%0A      System.out.printf(%22a is %25d, b is %25d, c is %25d%5Cn%22, a, b, c);%0A   %7D%0A   %0A   public static void main(String%5B%5D args)%0A   %7B%0A      int d = 2;%0A      subroutine(d++, d * 5, d--);%0A      d = 1;%0A      subroutine(d--, d + 5, d++);%0A      d = 1;%0A      subroutine(++d, d++, --d);%0A      d = 1;%0A      subroutine(++d, --d, d++);%0A   %0A   %0A      int a = 1;%0A      ++a;%0A      int b = a - 1;%0A      int c = b + 2;%0A      subroutine(a, b, c);%0A      %0A      //order of evaluation is chosen right to left in subroutine parameters.%0A   %7D%0A%7D%0A

Create EvaluationOrder.java