class Overload                           // this class has a "package" access
{

  public static void main(String[] args)
  {
    int a = 5;
    int b = 7;
    System.out.println(a + " + " + b + " = " + Add(a,b));

    double c = 2.3;
    double d = 3.6;
    System.out.println(c + " + " + d + " = " + Add(c,d));
  }

  static int Add(int i, int j)           // a method that returns the sum
  {                                      // of two integers
    return i+j;
  }

  static double Add(double i, double j)  // Overloading of the above method
  {
    return i + j;
  }
}

