//Testing overload methods
// same method name , same number of arguments but different type of argument 

public class OverloadTest

{

	public static int square(int x) // overload method 
	{
		return x*x;
	}

	public static double square (double x) // overload method 
	{
	 	return x*x;
	}


	public static void main (String args[])
	{
		System.out.println(square(3));
		System.out.println(square(4.5));
	} // ends the main 

}// ends overloadTest