public class TestArrays {
   public static void main(String argv[]) {
      int a[] = {1, 3, 5, 7, 9, 11, 13, 15};
      int b[] = {2, 4, 6, 8, 10, 12, 14, 16};

      int result[] = null;

      ArrayMath am = new ArrayMath();

      result = am.addArrays(a, b);
      System.out.println("The sum of arrays a and b is: ");
      am.print(result);

      result = am.subArrays(b, a);
      System.out.println("The difference between arrays a and b is: ");
      am.print(result);

      result = am.mulArrays(a, b);
      System.out.println("The product of arrays a and b is: ");
      am.print(result);
   }
}
