public class ArrayMath {

   // takes two arrays and returns the sum as an array.
   // e.g. a = {1, 2, 3} and b = {2, 4, 6}. It returns {3, 6, 9}
   public int[] addArrays(int a[], int b[]) {
      // implement this method
   }

   // takes two arrays and subtracts them. Returns the result as an array
   public int[] subArrays(int a[], int b[]) {
      // implement this method

   }

   // takes two arrays and returns their product as an array
   public int[] mulArrays(int a[], int b[]) {
      // implement this method

   }

   // takes an array and prints it out
   public void print(int a[]) {
      for(int i=0;i<a.length;i++) {
         System.out.println(a[i]);
      }
   }
}
