//File:	ArithmeticDriver.java
public class ArithmeticDriver
{
		public static void main (String [] args)
	{
		int x = 7, y = 3;
		
		//Since add() was not declared static in Arithmetic,
		//it is an instance method and so requires that we
		//instantiate an object of the Arithmetic class here.  Pretty ridiculous
		//and cumbersome, isn't it?
		Arithmetic s = new Arithmetic();
		System.out.println (x + " + " + y + " = " + s.add(x, y));
		
		//Since subtract(), multiply(), and divide() are declared static
		//in Arithmetic, they may be accessed as class methods as follows.
		//This is exactly the way in which Math class methods are accessed;  e.g.,
		//Math.sqrt(), Math.abs(), etc.
		System.out.println (x + " - " + y + " = " + Arithmetic.subtract(x, y));
		System.out.println (x + " X " + y + " = " + Arithmetic.multiply(x, y));
		System.out.println (x + " / " + y + " = " + Arithmetic.divide(x, y));
	}
}