public class Calc_overload_use
{
	public static void main (String[] args)
	{
		int x = 5;
		int y = 7;

		//Calc_overload calc; 			//create an object variable (calc)
		//calc = new Calc_overload();		//create (instantiate) object

		Calc_overload calc1 = new Calc_overload();

		System.out.println (x + " + " + y + " = " + calc1.add(x,y));
		System.out.println (x + " * " + y + " = " + calc1.multiply(x,y));
		System.out.println ("The factorial of " +x+ " is " +calc1.factorial(x));
		System.out.println ("The " +x+ " in power of " +y+ " is " +calc1.power(x,y));

		System.out.println (calc1.toString());


		Calc_overload calc2 = new Calc_overload(100, " scientific", "orange and black");

		System.out.println (calc2.toString());
	}
}





