@@ -0,0 +1,793 @@
+//This wil not compile as overriding method m1 is marked static in parent and not in child %0Aclass Test1%7B%0A%09static void m1()%7B%0A%09%09System.out.println(%22this Method is marked static%22);%0A%09%7D%0A%09%0A%09static void m2()%7B%0A%09%09System.out.println(%22this Method is marked NON-static%22);%0A%09%7D%0A%09void z()%7B%0A%09%09System.out.println(%22pppppppp%22);%0A%09%7D%0A%7D%0A%0Aclass Test2 extends Test1%7B%0A%09static void m1()%7B%0A%09%09System.out.println(%22this Method overriden is marked non static but marked static in parent%22);%0A%09%7D%0A%09%0A%09static void m2()%7B%0A%09%09System.out.println(%22Marked static but not marked static in Parent%22);%0A%09%09%0A%09%7D%0A%09void z()%7B%0A%09%09System.out.println(%22cccccccc%22);%0A%09%7D%09%0A%09public static void main(String%5B%5D args)%7B%0A%09%09Test1 x = new Test1();%0A%09%09//These method are called via object reference%0A%09%09x.m1();%0A%09%09x.m2();%0A%09%09// this method is called via object%0A%09%09x.z();%0A%09%7D%0A%7D%0A

Create StaticMethodHiding.java