class Demo
{
	
	public static void main(String[] args) throws java.lang.Exception
	{
		String x = "hello";
		Object y = x;
		System.out.println(x == y);
		System.out.println(f(x) == f(y));
	}
	
	public static int f(String x) {
		return 1;
	}
	
	public static int f(Object y) {
		return 2;
	}
	
}