@@ -0,0 +1,440 @@
+%0Apublic class main_handler %7B%0A%09public static void main(String %5B%5D args)%0A%09%7B%0A%09%09Inherit obj = new Inherit();%0A%09%09obj.method_1();%0A%09%09obj.method_2();%0A%09%09obj.method_3();%0A%09%09%0A%09%09//Interface Variable reference can access only method of its Interface %0A%09%09//OBJ2 can't access other method of class Inherit%0A%09%09A obj2 = new Inherit();%0A%09%09obj2.method_2();%0A%09%09obj2.method_1();%0A%09%09//obj2.method_3();   Illegal%0A%09%09B obj3 = new Inherit();%0A%09%09obj3.method_3();%0A%09%09%0A%09%09%0A%09%7D%0A%09%0A%7D%0A

Create main_handler.java