How can I override instance methods of super class as static in subclass? I think this is impossible but is there any indirect way?
public class A {
   public void test(){
       System.out.println("");
   }
}
public class B extends A{
    public static void test(){//test() in B cannot override test() in A 
    //overriding method is static
   }
}
 
     
    