import javax.naming.*;
class SuperClass {
	public static void myMethod(int a) throws LinkException {}
	class SubClass extends SuperClass {
		public static void myMethod(int a) throws NamingException{}
		public static void main(string args[]){
			SubClass sc = new SubClass();
			try{
				sc.myMethod(10);
			}
			catch(Exception e){
			}
		
	    }
	}
}
	
	
	
	
