How null reference to an object can invoke static method. Here is the sample code
class A{
public static void show(){
System.out.println("In Show");
}
psvm(..)
{
A a = null;
a.show();
}
Here as an output "In Show" is printed. I was expecting NPE . Request an understanding