we know that static members are available to their subclasses as well depending on their access modifier.
So i have following classes as:
public class A {
public static void main(String[] args){
//.....
}
}
public class B extends A{
//....
}
So i wanted to know that if run class B. will it run through the main method available for it through inheritance. if not Why?